Changeset 529 for library/bdm/base/user_info.h
- Timestamp:
- 08/14/09 09:03:02 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/user_info.h
r527 r529 550 550 ParticularUI<T> ( const string &class_name ) : UI ( class_name, &typeid ( T ) ) {}; 551 551 552 //! A method returning a brand new instance of class T, this method is the reason why there have to be a parameterless construc otor in class T552 //! A method returning a brand new instance of class T, this method is the reason why there have to be a parameterless constructor in class T 553 553 root* new_instance() const { 554 554 return new T(); … … 565 565 \brief Macro for registration of class into map of user-infos, registered class is scriptable using UI static methods 566 566 567 Argument \a class_name has to be a descendant of root class and also , it has to have parameterless constructor prepared.567 Argument \a class_name has to be a descendant of root class and also to have a default constructor. 568 568 This macro should be used in header file, immediately after a class declaration. 569 569