Changeset 251 for trunk/nom/idl
- Timestamp:
- Mar 11, 2007, 2:22:39 PM (19 years ago)
- Location:
- trunk/nom/idl
- Files:
-
- 2 edited
-
nomcls.idl (modified) (5 diffs)
-
nomobj.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/idl/nomcls.idl
r250 r251 65 65 66 66 /** 67 This method returns the name of the class this class object is an instance of. 67 This method returns the name of the class this class object is the meta class of. This 68 means the returned string is the name of the class the metaclass creates instances of. 69 70 \remarks This method used to be called nomGetName(). 68 71 69 72 \par How to override: 70 73 This method is usually not overriden. 71 74 72 \sa impl_NOMClass_nomGetName()75 \sa nomGetClassName() 73 76 */ 74 string nomGet Name();77 string nomGetCreatedClassName(); 75 78 76 79 /** … … 104 107 method is always called during object creation. 105 108 106 \par How to override 109 \par How to override: 107 110 This method can be overriden to track the creation of objects. When doing so 108 111 the parent should be called first. … … 130 133 this method does nothing. It's for compatibility with ported code. 131 134 132 \par How to override 135 \par How to override: 133 136 This method is usually not overriden. 134 137 … … 137 140 void nomDeallocate(in gpointer memptr); 138 141 void nomSetObjectCreateInfo(in gpointer ncpObject); 142 143 /** 144 \remarks 145 The return type may change. 146 */ 139 147 gpointer nomGetObjectCreateInfo(); 140 148 … … 145 153 also be registered. 146 154 155 \remarks This method is only called by the system during class creation. 156 157 \par How to override: 158 This method is usually not overriden. 159 147 160 \sa impl_NOMClass_nomClassReady() 148 161 */ 149 162 void nomClassReady(); 150 163 164 /** 165 \warning 166 The type of this variable will change! 167 */ 151 168 NOMINSTANCEVAR(string ncpObject); //NOMClassPriv structure holding info about the object this class can create 152 169 NOMOVERRIDE(nomInit); -
trunk/nom/idl/nomobj.idl
r250 r251 161 161 */ 162 162 PNOMObject new(); 163 164 /** 165 This method checks if the object is an instance of the given class or some subclass. Using 166 this method one can make sure some feature is available if the introducing class is known. 167 Every subclass of a given class also supports the features of the introducing class. 168 169 \remarks This method checks the validity of \e nomClass using nomIsObj() and returns FALSE 170 in case it's not an object. 171 172 \param nomClass Pointer to a class object. 173 174 \returns TRUE if the object is an instance of the given class or one of its 175 subclasses. 176 177 \sa nomIsInstanceOf() 178 */ 179 boolean nomIsA(in PNOMClass nomClass); 180 181 /** 182 This method checks if the object is an instance of exactly the given class. 183 184 185 \remarks This method checks the validity of \e nomClass using nomIsObj() and returns FALSE 186 in case it's not an object. 187 188 \param nomClass Pointer to a class object. 189 190 \returns TRUE if the object is an instance of exactly the given class. 191 192 \sa nomIsA() 193 */ 194 boolean nomIsInstanceOf(in PNOMClass nomClass); 195 /** 196 This method returns the name of the class this object is an instance of. 197 198 \par How to override: 199 This method is usually not overriden. 200 201 \returns A null terminated C string. Note that this is not a copy. The string 202 is valid as long as the class object exists (not the instance). 203 204 \sa impl_NOMClass_nomGetClassName() 205 */ 206 string nomGetClassName(); 207 208 163 209 }; 164 210
Note:
See TracChangeset
for help on using the changeset viewer.
