Defines.h File Reference

Include dependency graph for Defines.h:

This graph shows which files directly or indirectly include this file:

Object.hActiveEvent.hAdjustable.hComponentOrientation.hConditional.hInsets.hMenuShortcut.hTransparency.hColorSpace.hDimension2D.hPathIterator.hPoint2D.hDataBuffer.hImageObserver.hMenuComponentPeer.hBits.hByteOrder.hCoderResult.hCodingErrorAction.hDataInput.hDataOutput.hFile.hFileDescriptor.hFilenameFilter.hInputStream.hOutputStream.hReader.hWriter.hArray.hBoolean.hCharacter.hClass.hInterface.hMath.hNumber.hRunnable.hScopeAdapter.hThrowable.hInetAddress.hSocketAddress.hSocketOptions.hCharacterIterator.hComparator.hDate.hEventListener.hEventObject.hEventSource.hFixed.hImmutable.h

Go to the source code of this file.

Namespaces

namespace  java
namespace  java::lang

Classes

class  java::lang::Global

Defines

#define JAVA_LANG_DEFINES_H   1
#define MACRO_EXPAND_IMPL(X, Y)   X##Y
#define MACRO_EXPAND(X, Y)   MACRO_EXPAND_IMPL(X,Y)
#define CONCAT(X, Y)   MACRO_EXPAND(X,Y)
#define CSTR(X)   ((const jbyte*)X)
#define nilCString   CSTR("")
#define nilString   String(nilCString)
#define REGISTER_MEMBERS   public: virtual jvoid getThis() const { return (jvoid)this;} virtual const Class& getClass() const { return theClass();} static const Class& theClass()
#define REG_THE_CLASS(P, T, X, A)   const Class& T::theClass() { static const Class *singular = Global::class_init(#T, __caster< T,P >::cast, X::copier, X::constructor, &P::theClass(), false, A); return *singular;}
#define REGISTER_CLASS(P, T)   REG_THE_CLASS(P,T,__concrete_operator< T >, false)
#define REGISTER_ABSTRACT_CLASS(P, T)   REG_THE_CLASS(P,T,__abstract_operator< T >, true)
#define ADD_INTERFACE(X, Y)   static jboolean CONCAT(status_,__LINE__) = Global::class_interface(X::theClass(), Y::theClass(), __caster< X,Y >::cast)
#define assignable(D, S)   (D::theClass().isAssignableFrom(S::theClass()))
#define instanceof(I, C)   (C::theClass().isInstance(I))
#define castof(I, C)   (*(C*)Global::class_cast(C::theClass(), I))
#define leafof(I, C)   (*(C*)(I).getThis())
#define J32OS
#define P2I(p)   ((jint)(jvoid)p)
#define JLONG(T)   ((jlong)T##LL)
#define DLL_IMPORT
#define DLL_EXPORT
#define JAVA_LANG_SPEC
#define JAVA_UTIL_SPEC
#define JAVA_IO_SPEC

Typedefs

typedef void * jvoid
typedef bool jboolean
typedef char jbyte
typedef unsigned char jubyte
typedef short jshort
typedef unsigned short jushort
typedef unsigned short jchar
typedef int jint
typedef unsigned int juint
typedef float jfloat
typedef double jdouble
typedef int64_t jlong
typedef uint64_t julong
typedef Object * java::lang::jobject
typedef jvoid(* java::lang::CastFunc )(jvoid)
typedef ObjectRef(* java::lang::InitFunc )()
typedef ObjectRef(* java::lang::CopyFunc )(const Object &)


Define Documentation

#define ADD_INTERFACE ( X,
 )     static jboolean CONCAT(status_,__LINE__) = Global::class_interface(X::theClass(), Y::theClass(), __caster< X,Y >::cast)

#define assignable ( D,
 )     (D::theClass().isAssignableFrom(S::theClass()))

#define castof ( I,
 )     (*(C*)Global::class_cast(C::theClass(), I))

#define CONCAT ( X,
 )     MACRO_EXPAND(X,Y)

#define CSTR (  )     ((const jbyte*)X)

#define DLL_EXPORT

#define DLL_IMPORT

#define instanceof ( I,
 )     (C::theClass().isInstance(I))

#define J32OS

#define JAVA_IO_SPEC

#define JAVA_LANG_DEFINES_H   1

#define JAVA_LANG_SPEC

#define JAVA_UTIL_SPEC

#define JLONG (  )     ((jlong)T##LL)

#define leafof ( I,
 )     (*(C*)(I).getThis())

#define MACRO_EXPAND ( X,
 )     MACRO_EXPAND_IMPL(X,Y)

#define MACRO_EXPAND_IMPL ( X,
 )     X##Y

#define nilCString   CSTR("")

#define nilString   String(nilCString)

#define P2I (  )     ((jint)(jvoid)p)

#define REG_THE_CLASS ( P,
T,
X,
 )     const Class& T::theClass() { static const Class *singular = Global::class_init(#T, __caster< T,P >::cast, X::copier, X::constructor, &P::theClass(), false, A); return *singular;}

#define REGISTER_ABSTRACT_CLASS ( P,
 )     REG_THE_CLASS(P,T,__abstract_operator< T >, true)

#define REGISTER_CLASS ( P,
 )     REG_THE_CLASS(P,T,__concrete_operator< T >, false)

#define REGISTER_MEMBERS   public: virtual jvoid getThis() const { return (jvoid)this;} virtual const Class& getClass() const { return theClass();} static const Class& theClass()


Typedef Documentation

typedef bool jboolean

typedef char jbyte

typedef unsigned short jchar

typedef double jdouble

typedef float jfloat

typedef int jint

typedef int64_t jlong

typedef short jshort

typedef unsigned char jubyte

typedef unsigned int juint

typedef uint64_t julong

typedef unsigned short jushort

typedef void* jvoid


Generated on Fri May 16 11:55:04 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3