Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

nci/suif/suif2b/j2s/j2s_runtime/rt_UnWrap.cc File Reference

#include <sys/types.h>
#include "j2s_runtime/j2s_runtime.h"

Defines

#define IF_IS_A(x, X, Y)
#define IF_IS_A_BOOLEAN(Y)    IF_IS_A(boolean, Boolean, Y)
#define IF_IS_A_BYTE(Y)    IF_IS_A(byte, Byte, Y)
#define IF_IS_A_CHAR(Y)    IF_IS_A(char, Character, Y)
#define IF_IS_A_SHORT(Y)    IF_IS_A(short, Short, Y)
#define IF_IS_A_INT(Y)    IF_IS_A(int, Integer, Y)
#define IF_IS_A_LONG(Y)    IF_IS_A(long, Long, Y)
#define IF_IS_A_FLOAT(Y)    IF_IS_A(float, Float, Y)
#define IF_IS_A_DOUBLE(Y)    IF_IS_A(double, Double, Y)
#define INIT_CHECK()

Define Documentation

#define IF_IS_A( x,
X,
Y)

Initial value:

\
  if(c == Globals::##X##JClass) {\
    return (J##Y) UWrap::##x##Value(newvalue);\
  }

#define IF_IS_A_BOOLEAN( Y)   IF_IS_A(boolean, Boolean, Y)

#define IF_IS_A_BYTE( Y)   IF_IS_A(byte, Byte, Y)

#define IF_IS_A_CHAR( Y)   IF_IS_A(char, Character, Y)

#define IF_IS_A_DOUBLE( Y)   IF_IS_A(double, Double, Y)

#define IF_IS_A_FLOAT( Y)   IF_IS_A(float, Float, Y)

#define IF_IS_A_INT( Y)   IF_IS_A(int, Integer, Y)

#define IF_IS_A_LONG( Y)   IF_IS_A(long, Long, Y)

#define IF_IS_A_SHORT( Y)   IF_IS_A(short, Short, Y)

#define INIT_CHECK()

Initial value:

\
if(newvalue == NULL)\
  THROW(JNullPointerException);\
JClass *c = newvalue->_class()

Generated at Mon Jul 31 13:42:11 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000