Changeset 529 for library/bdm/base
- Timestamp:
- 08/14/09 09:03:02 (15 years ago)
- Location:
- library/bdm/base
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/bdmbase.h
r527 r529 226 226 }; 227 227 UIREGISTER (RV); 228 SHAREDPTR (RV); 228 229 229 230 //! Concat two random variables … … 386 387 387 388 }; 388 389 SHAREDPTR(epdf); 389 390 390 391 //! Conditional probability density, e.g. modeling some dependencies. … … 487 488 //!@} 488 489 }; 490 SHAREDPTR(mpdf); 489 491 490 492 template <class EPDF> … … 740 742 }; 741 743 UIREGISTER (mepdf); 744 SHAREDPTR (mepdf); 742 745 743 746 //! \brief Combines RVs from a list of mpdfs to a single one. … … 990 993 }; 991 994 995 typedef Array<shared_ptr<epdf> > epdf_array; 996 997 typedef Array<shared_ptr<mpdf> > mpdf_array; 998 992 999 template<class EPDF> 993 1000 vec mpdf_internal<EPDF>::samplecond (const vec &cond) -
library/bdm/base/datasources.h
r527 r529 107 107 108 108 UIREGISTER ( ITppFileDS ); 109 SHAREDPTR ( ITppFileDS ); 109 110 110 111 /*! … … 263 264 264 265 UIREGISTER ( ArxDS ); 266 SHAREDPTR ( ArxDS ); 265 267 266 268 class stateDS : public DS { … … 346 348 347 349 UIREGISTER ( stateDS ); 350 SHAREDPTR ( stateDS ); 348 351 349 352 }; //namespace -
library/bdm/base/loggers.h
r477 r529 92 92 93 93 UIREGISTER ( memlog ); 94 SHAREDPTR ( memlog ); 94 95 95 96 /*! … … 139 140 140 141 UIREGISTER ( dirfilelog ); 142 SHAREDPTR ( dirfilelog ); 141 143 142 144 }; -
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