Ignore:
Timestamp:
Feb 3, 2007, 6:59:37 PM (19 years ago)
Author:
cinc
Message:

Added doxygen tags. Some minor changes to NOMClass.

File:
1 edited

Legend:

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

    r210 r219  
    4444  NOMCLASSVERSION(1, 0 );
    4545
     46  /**
     47     This method is intended to be overriden by classes which need some initialization.
     48
     49     \par How to override
     50     The parent class must always be called first when overriden.
     51
     52     \sa impl_NOMObject_nomInit()
     53   */
    4654  void nomInit();
     55
     56  /**
     57     This method is intended to be overriden by classes which need some uninitialization.
     58     Note that when overriding the method the garbage collector will add the object
     59     to the list of objects with a finalizer. The finalizer will be run when the object is
     60     collected and calls nomUnInit() to give the object a chance for cleanup.
     61
     62     \note It's not necessary to free memory in nomUnInit(). This is the job of the garbage collector.
     63     Only system resources like file handles etc. must be explicitely freed.
     64
     65     \par How to override
     66     The parent method must be called after doing the own processing.
     67
     68     \sa impl_NOMObject_nomUnInit()
     69   */
    4770  void nomUnInit();
    48   /* Return the size of the object. That is sizeof(mTab*)+sizeof(all instance vars) */
     71
     72  /**
     73     Return the size of the object. That is sizeof(mTab*)+sizeof(all instance vars)
     74
     75     \par How to override
     76     This method is usually not overriden.
     77
     78     \sa impl_NOMObject_nomGetSize()
     79  */
    4980  long nomGetSize();
     81
     82  /**
     83     This method calls nomUnInit() to give the object a chance of freeing system resources.
     84     Afterwards the memory occupied by the object is given back to the system and the
     85     object is not accessible anymore.
     86
     87     \sa impl_NOMObject_delete()
     88   */
    5089  void delete();
     90
     91  /**
     92     This method returns a pointer to the class object of this object.
     93
     94     \par How to override
     95     This method is usually not overriden.
     96
     97     \return Pointer to the class object
     98
     99     \sa impl_NOMObject_nomGetClass()
     100   */
    51101  PNOMClass nomGetClass();
     102
     103  /**
     104     Create a new class of the kind the caller is. This method ensures that subclasses
     105     are properly handled without the need to override this method in every subclass.
     106
     107     This method will get the class object of nomSelf and call nomNew() on it creating
     108     a new object which has exactly the same class hierarchy of nomSelf.
     109
     110     \par How to override
     111     This method is usually not overriden.
     112
     113     \return Pointer to a new object of the same kind as nomSelf. Note that this won't
     114     create an exact copy but a completely new objecct.
     115
     116     \sa impl_NOMObject_new()
     117   */
    52118  PNOMObject new();
    53 #if 0
    54         NOMOVERRIDE(wpEchoString);
    55         NOMINSTANCEVAR(long theLong);
    56 #endif
    57119};
    58120
Note: See TracChangeset for help on using the changeset viewer.