Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 19, 2006, 5:18:04 PM (18 years ago)
Author:
bensch
Message:

more doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/loading/load_param.h

    r9742 r9763  
    3737/**
    3838 * Loads a Parameter from ROOT named PARAMETER_NAME
    39  * onto OBJECT of CLASS, trough the FUNCTION
     39 * onto OBJECT of CLASS, trough FUNCTION
    4040 * @param ROOT the TiXmlElement to load the Parameter from
    4141 * @param PARAMETER_NAME the Name of the Parameter to load
     
    4747         CLoadParam(ROOT, PARAMETER_NAME, OBJECT, createExecutor<CLASS>(&CLASS::FUNCTION), false)
    4848
     49/**
     50 * @brief Does essentially the same as LoadParam, but within a Cycle in an ordered fashion.
     51 *
     52 * This Function looks in each Element, if the PARAMETER_NAME matches, and loads onto OBJECT
     53 * of CLASS the ROOT through FUNCTION
     54 *
     55 * @see LoadParam(ROOT, PARAMETER_NAME, OBJECT, CLASS, FUNCTION)
     56 */
    4957#define LoadParam_CYCLE(ROOT, PARAMETER_NAME, OBJECT, CLASS, FUNCTION) \
    5058         CLoadParam(ROOT, PARAMETER_NAME, OBJECT, createExecutor<CLASS>(&CLASS::FUNCTION), true)
     
    7785**** REAL DECLARATIONS ****
    7886**************************/
    79 class LoadParamBase : public BaseObject
     87//!< A BaseClass for all LoadParam's.
     88class LoadParamBase
    8089{
    8190protected:
     
    8695
    8796protected:
    88   BaseObject*              object;
    89   const std::string        paramName;
    90   bool                     inLoadCycle;
     97  BaseObject*              object;               //!< The Object to work on
     98  const std::string        paramName;            //!< The Name of the Parameter this LoadParams applies to.
     99  bool                     inLoadCycle;          //!< If the Parameter is in a LoadCycle.
    91100
    92101  LoadClassDescription*    classDesc;            //!< The LoadClassDescription of this CLoadParameter
     
    96105
    97106
    98 //! abstract Base class for a Loadable parameter
     107//! The Loading Class of the LoadParam, that acctually executes the loading process.
    99108class CLoadParam : public LoadParamBase
    100109{
     
    111120
    112121private:
    113   Executor<const SubString>*         executor;
     122  Executor<const SubString>*         executor;            //!< The Executor, that actually executes the Loading process.
    114123};
    115124
Note: See TracChangeset for help on using the changeset viewer.