Changeset 756 for library/bdm/bdmroot.h
- Timestamp:
- 12/28/09 17:02:37 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/bdmroot.h
r737 r756 49 49 int log_level; 50 50 51 //! It is necessary to allow calling of from_setting and to_setting within the user_info class 52 friend class UI; 53 54 //! Read instance properties according the data stored in the Setting structure 55 //! 56 //! It has to be called only through user_info class, therefore it is protected 57 virtual void from_setting ( const Setting &set ) { 58 } 59 60 //! Save all the instance properties into the Setting structure 61 //! 62 //! It has to be called only through user_info class, therefore it is protected 63 virtual void to_setting ( Setting &set ) const { 64 } 65 51 66 public: 52 67 //!default constructor … … 76 91 } 77 92 78 //! Read instance properties according the data stored in the Setting structure79 virtual void from_setting ( const Setting &set ) {80 }81 82 //! Save all the instance properties into the Setting structure83 virtual void to_setting ( Setting &set ) const {84 }85 86 93 //! Check that all internal structures has been correctly set-up. Called at the end of from_setting. 87 94 virtual void validate() {