Changeset 342 for bdm/stat/libDS_ui.h

Show
Ignore:
Timestamp:
05/14/09 17:16:45 (15 years ago)
Author:
smidl
Message:

Barcelona

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bdm/stat/libDS_ui.h

    r280 r342  
    122122}; 
    123123UIREGISTER ( UIstateDS ); 
     124 
     125/*! \brief UI for reading data from files 
     126 
     127\code 
     128\endcode 
     129*/ 
     130 
     131class UIITppFileDS : public UIbuilder { 
     132        public: 
     133                UIITppFileDS() :UIbuilder ( "ITppFileDS" ) {}; 
     134                bdmroot* build ( Setting &S ) const { 
     135                        RV* rvtmp; 
     136                        UIbuild(S["rv"], rvtmp); 
     137                        ITppFileDS *DS=new ITppFileDS(S["filename"],S["varname"]); 
     138                        DS->set_drv(*rvtmp,RV()); 
     139                        return DS; 
     140                } 
     141}; 
     142UIREGISTER ( UIITppFileDS ); 
     143 
    124144#endif // DS_UI_H