Changeset 536 for library/bdm/mex/mex_parser.h
- Timestamp:
- 08/16/09 18:13:31 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/mex/mex_parser.h
r477 r536 8 8 using namespace libconfig; 9 9 10 //! Class for writing Settings into Matlab's mxArray 10 11 class UImxArray : public Config { 11 12 public: 13 //! Build an instance of Config with fields filled from the given \a mxarray 12 14 UImxArray ( const mxArray *mxarray ) : Config() { 13 15 Setting & setting = this->getRoot(); //setting is a group … … 22 24 setAutoConvert ( true ); 23 25 } 26 //! Add libconfig's \c list to the structure 24 27 void addList ( const mxArray *mxarray, const char* name ) { 25 28 Setting & setting = this->getRoot(); //setting is a group … … 27 30 fillList ( child, mxarray ); 28 31 } 32 //! Add libconfig's \c group to the structure 29 33 void addGroup ( const mxArray *mxarray, const char* name ) { 30 34 Setting & setting = this->getRoot(); //setting is a group … … 32 36 fillGroup ( child, mxarray ); 33 37 } 38 //! Operator for more convenient access to this Confic 34 39 operator Setting&() { 35 40 return getRoot();