Changeset 354 for trunk/nom/class_c
- Timestamp:
- Jun 7, 2008, 12:01:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/class_c/nomobj.c
r353 r354 56 56 #include "nomstring.h" 57 57 #include "nommethod.h" 58 #include "nomarray.h" 58 59 #include "gc.h" 59 60 … … 223 224 } 224 225 225 226 NOMDLLEXPORT NOM_Scope void NOMLINK impl_NOMObject_nomGetMethodList(NOMObject* nomSelf, 227 const CORBA_boolean bIncludingParents, 228 CORBA_Environment *ev) 226 /* 227 Create a new NOMArray holding NOMMethod objects. 228 */ 229 NOMDLLEXPORT NOM_Scope NOMObject* NOMLINK impl_NOMObject_nomGetMethodList(NOMObject* nomSelf, 230 const CORBA_boolean bIncludingParents, 231 CORBA_Environment *ev) 229 232 { 230 233 NOMClassPriv* ncPriv; 234 NOMArray*nomArray=NOMArrayNew(); 231 235 232 236 /* NOMObjectData* nomThis = NOMObjectGetData(nomSelf); */ 233 234 g_message("In %s (%d): %s", __FUNCTION__, __LINE__, _nomGetClassName(_nomQueryClass(nomSelf, NULL), NULL)); 237 238 if(TRUE==bIncludingParents) 239 g_message("Flag ËbIncludeParentsË not supported yet"); 235 240 236 241 ncPriv=(NOMClassPriv*)_nomGetObjectCreateInfo(_nomQueryClass(nomSelf, NULL), NULL); … … 243 248 { 244 249 NOMMethod* nMethod=NOMMethodNew(); 245 NOMString* ns;246 250 247 251 _initData(nMethod, (gpointer) &ncPriv->sci->nomSMethods[a], NULL); 248 g_message("In %s (%d): %s %X", __FUNCTION__, __LINE__, *ncPriv->sci->nomSMethods[a].nomMethodId, nMethod /*chrMethodDescriptor*/);249 250 g_message(" In %s (%d): %s\n", __FUNCTION__, __LINE__, _nomGetClassName(_getName(nMethod, NULL), NULL));251 252 252 253 //g_message(" In %s (%d): %X NOMString: %x", __FUNCTION__, __LINE__, nMethod, _getName(nMethod, NULL)); 254 255 g_message(" In %s (%d): NOMMethod: %x %s 3\n", __FUNCTION__, __LINE__, nMethod, _queryString(_getName(nMethod, NULL), NULL)); 256 253 NOMArray_append(nomArray, nMethod, NULL); 257 254 } 258 //nomPrintf(" %s %s \n", nomSelf->mtab->nomClassName, ncPriv->mtab->nomClassName); 259 } 260 261 //nomPrintf("In %s: metaclass: %s, class: %s\n", __FUNCTION__, _nomGetClassName(_nomQueryClass(nomSelf, NULL), NULL), 262 // _nomGetClassName(nomSelf, NULL)); 263 264 } 265 255 } 256 return nomArray; 257 } 258
Note:
See TracChangeset
for help on using the changeset viewer.