5 #ifndef xmogClassInfoMapInc
6 #define xmogClassInfoMapInc
12 #if (XMOG_IMPLEMENTS_REMOTE_CLIENT==1)
15 #include "xmog_util.h"
16 #include "ace/Map_Manager.h"
17 #include "ace/Recursive_Thread_Mutex.h"
30 struct xmog_class_info
38 xmog_class_info() : id_( 0 ), super_id_( 0 ), num_ifcs_( 0 ), ifc_ids_( 0 ), name_( 0 ) {}
39 xmog_class_info(
const xmog_class_info & rhs );
40 xmog_class_info & operator = (
const xmog_class_info & );
47 typedef ACE_Map_Manager<jclass,xmog_class_info,ACE_Recursive_Thread_Mutex> ClassToClassInfoMap;
51 ClassToClassInfoMap toInfo_;
62 int register_class( jclass
id, jclass super_id,
const char * name,
size_t numIfcs, jclass * ifcs );
64 int get_super( jclass sub, jclass & sup )
const;
66 int get_class_name( jclass
id,
char * & name )
const;
68 int get_num_ifcs( jclass sub,
size_t & size )
const;
70 int get_ifc( jclass sub,
size_t index, jclass & ifc )
const;
72 int is_assignable( jclass sub, jclass sup, jboolean & bAssignable )
const;