Changeset 219 for trunk/nom/class_c/nomobj.c
- Timestamp:
- Feb 3, 2007, 6:59:37 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/class_c/nomobj.c
r210 r219 46 46 #include "nomobj.ih" 47 47 48 /** 48 49 50 \brief This function implements the method nomInit() of class NOMObject. 51 */ 49 52 NOM_Scope void NOMLINK impl_NOMObject_nomInit(NOMObject *nomSelf, CORBA_Environment *ev) 50 53 { … … 53 56 } 54 57 58 /** 59 60 \brief This function implements the method nomUnInit() of class NOMObject. 61 */ 55 62 NOM_Scope void NOMLINK impl_NOMObject_nomUnInit(NOMObject *nomSelf, CORBA_Environment *ev) 56 63 { … … 61 68 } 62 69 70 /** 71 72 \brief This function implements the method nomGetSize() of class NOMObject. 73 */ 63 74 NOM_Scope CORBA_long NOMLINK impl_NOMObject_nomGetSize(NOMObject* nomSelf, CORBA_Environment *ev) 64 75 { … … 73 84 } 74 85 86 /** 87 88 \brief This function implements the method delete() of class NOMObject. 89 90 It calls nomUnInit() to give the object a chance of freeing system resources. Afterwards 91 the memory occupied by the object is given back to the system and the object is not 92 accessible anymore. 93 */ 75 94 NOM_Scope void NOMLINK impl_NOMObject_delete(NOMObject* nomSelf, CORBA_Environment *ev) 76 95 { … … 88 107 } 89 108 90 /* 91 Gets the class object of this object. 92 */ 109 /** 110 111 \brief This function implements the method nomGetClass() of class NOMObject. 112 It returns a pointer to the class object of this object. 113 114 \param nomSelf The pointer to the object. 115 \param ev Environment pointer or NULL. 116 \retval PNOMClass A pointer to the class object for this object. This can never be NULL. 117 */ 93 118 NOM_Scope PNOMClass NOMLINK impl_NOMObject_nomGetClass(NOMObject* nomSelf, CORBA_Environment *ev) 94 119 { … … 98 123 } 99 124 100 /* 101 Create a new class of the kind the caller is. This method ensures that subclasses 102 are properly handled without the need to override this method in every subclass. 125 /** 126 127 \brief This function implements the method new() of class NOMObject. 128 129 Create a new class of the kind the caller is. This method ensures that subclassing 130 is properly handled without the need to override this method in every subclass. 131 132 This method will get the class object of nomSelf () which may be any subclass 133 of NOMObject) and call nomNew() on it creating 134 a new object which has exactly the same class hierarchy as nomSelf. 103 135 */ 104 136 NOM_Scope PNOMObject NOMLINK impl_NOMObject_new(NOMObject* nomSelf, CORBA_Environment *ev)
Note:
See TracChangeset
for help on using the changeset viewer.