Legend:
- Unmodified
- Added
- Removed
-
bdm/stat/libBM.h
r340 r342 629 629 //!access function 630 630 const RV& _urv() const {return Urv;} 631 //! set random rvariables 632 virtual void set_drv (const RV &drv, const RV &urv) { Drv=drv;Urv=urv;} 631 633 }; 632 634 -
bdm/stat/libDS.h
r313 r342 68 68 //! returns number of data in the file; 69 69 int ndat(){return Data.cols();} 70 //! no sense to log this type 71 void log_add ( logger &L ) {}; 72 //! no sense to log this type 73 void logit ( logger &L ) {}; 70 74 }; 71 75 … … 76 80 77 81 */ 78 class I tppFileDS: public FileDS {79 80 public: 81 I tppFileDS ( const string &fname, const string &varname ) :FileDS() {82 class ITppFileDS: public FileDS { 83 84 public: 85 ITppFileDS ( const string &fname, const string &varname ) :FileDS() { 82 86 it_file it ( fname ); 83 87 it << Name ( varname ); … … 85 89 time = 0; 86 90 //rowid and delays are ignored 87 } 91 }; 88 92 }; 89 93 -
bdm/stat/libDS_ui.h
r280 r342 122 122 }; 123 123 UIREGISTER ( UIstateDS ); 124 125 /*! \brief UI for reading data from files 126 127 \code 128 \endcode 129 */ 130 131 class 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 }; 142 UIREGISTER ( UIITppFileDS ); 143 124 144 #endif // DS_UI_H