Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 20, 2006, 10:08:58 AM (18 years ago)
Author:
bensch
Message:

load_params: caputring is now to be enabled for performance reasons

File:
1 edited

Legend:

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

    r9777 r9779  
    5252
    5353  /** @param createThem: if the Parameters should be created/stored. */
    54   static void createDescriptions(bool createThem) { _createParametersDescription = createThem; };
     54  static void captureDescriptions(bool createThem) { _captureDescriptions = createThem; };
    5555  /** @returns if the Parameters are created/stored. */
    56   static bool createsDescriptions() { return _createParametersDescription; };
     56  static bool descriptionsCaptured() { return _captureDescriptions; };
    5757
    5858  static void deleteAllDescriptions();
    5959
     60  void print(FILE* stream = stdout, bool withComments = true) const;
    6061  static void printAll(const std::string& fileName = "", bool withComments = true);
    6162  static void printAllTo(FILE* stream = stdout, bool withComments = true);
     
    7273private:
    7374
    74   static bool                                  _createParametersDescription;  //!< if parameter-description should be enabled globally.
     75  static bool                                  _captureDescriptions;    //!< if parameter-description should be enabled globally.
    7576
    7677  static ClassDescriptionMap                   _classList;              //!< a list, that stores all the loadable classes. (after one instance has been loaded)
Note: See TracChangeset for help on using the changeset viewer.