Ignore:
Timestamp:
Mar 11, 2007, 2:22:39 PM (18 years ago)
Author:
cinc
Message:

Implemented some methods. Bug fixes and documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nom/idl/nomobj.idl

    r250 r251  
    161161   */
    162162  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
    163209};
    164210
Note: See TracChangeset for help on using the changeset viewer.