Changeset 1063 for library/bdm/base

Show
Ignore:
Timestamp:
06/09/10 11:50:16 (14 years ago)
Author:
mido
Message:

a small patch of documentation, to be contiuned..

Location:
library/bdm/base
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.h

    r1060 r1063  
    570570 
    571571  This macro has to be called within a class declaration. Its argument \a classname has to correspond to that wrapping class. 
    572   This macro defines a log_level instance which can be modified either directly or by the means of #UI class. 
     572  This macro defines a log_level instance which can be modified either directly or by the means of #bdm::UI class. 
    573573 
    574574  One of the main purposes of this macro is to allow variability in using enumerations. By relating them to their names through 
     
    736736        //! log upper bound of the density (see function qbounds) 
    737737         
    738         //! \var log_level_enums logfull 
    739         //! log full record of the density in the form of setting 
    740738        LOG_LEVEL(epdf,logmean,loglbound,logubound); 
    741739 
     
    801799        //! Set statistics to match given input epdf. Typically it copies statistics from epdf of the same type and projects those form different types 
    802800        //! \param pdf0 epdf to match 
    803         //! \param option placeholder for potential options 
    804801        void set_statistics(const epdf *pdf0) NOT_IMPLEMENTED_VOID; 
    805802        //!@} 
     
    13091306 
    13101307        /*! \brief Incremental Bayes rule 
    1311         @param dt vector of input data 
     1308        @param yt vector of input data 
    13121309        */ 
    13131310        virtual void bayes ( const vec &yt, const vec &cond = empty_vec ) =0; 
  • library/bdm/base/datasources.h

    r1060 r1063  
    269269        class = 'PdfDS'; 
    270270        pdf = configuration of bdm::pdf;          % any offspring of pdf, bdm::pdf::from_setting 
    271         --- optional --- 
     271        --- optional fields --- 
    272272        init_rv = RV({'names',...},[sizes,...],[times,...]);   % define what rv to initialize - typically delayed values, time=-1, etc.! 
    273273        init_values = [...];                      % vector of initial values corresponding to init_rv 
    274274        \endcode 
    275         Class does not inherits from bdm::DS::from_setting, names of data are taken from pdf.rv and pdf.rvc. 
     275        Class does not call from bdm::DS::from_setting, names of data are taken from pdf.rv and pdf.rvc. 
    276276         
    277277        If init_rv is not given, init_values are set to zero. 
  • library/bdm/base/user_info.h

    r1015 r1063  
    395395        //! The new instance of type T* is constructed and initialized with values stored in the Setting element[name] 
    396396        //! 
    397         //! If there does not exist any sub-element named #name and settingPresence is #optional, an empty bdm::shared_ptr<T> is returned. When settingPresence is #compulsory, the returned bdm::shared_ptr<T> is never empty (an exception is thrown when the object isn't found). 
     397        //! If there does not exist any sub-element named name and settingPresence is optional, an empty bdm::shared_ptr<T> is returned.  
     398        //! When settingPresence is compulsory, the returned bdm::shared_ptr<T> is never empty (an exception is thrown when the object isn't found). 
    398399        template<class T> 
    399400        static bdm::shared_ptr<T> build ( const Setting &element, const string &name, SettingPresence settingPresence = optional ) { 
     
    412413        //! The new instance of type T* is constructed and initialized with values stored in the Setting element[index] 
    413414        //! 
    414         //! If there does not exist  any sub-element indexed by #index, and settingPresence is #optional, an empty bdm::shared_ptr<T> is returned. When settingPresence is #compulsory, the returned bdm::shared_ptr<T> is never empty (an exception is thrown when the object isn't found). 
     415        //! If there does not exist  any sub-element indexed by index, and settingPresence is optional, an empty bdm::shared_ptr<T> is returned.  
     416        //! When settingPresence is compulsory, the returned bdm::shared_ptr<T> is never empty (an exception is thrown when the object isn't found). 
    415417        template<class T> 
    416418        static bdm::shared_ptr<T> build ( const Setting &element, const int index, SettingPresence settingPresence = optional ) { 
     
    447449 
    448450        //! The existing instance of type T is initialized with values stored in the Setting element[name] 
    449         //! If there does not exist any sub-element named #name, this method returns false. 
     451        //! If there does not exist any sub-element named name, this method returns false. 
    450452        template<class T> static bool get ( T &instance, const Setting &element, const string &name, SettingPresence settingPresence = optional ) { 
    451453                if ( !element.exists ( name ) ) { 
     
    461463 
    462464        //! The existing instance of type T is initialized with values stored in the Setting element[index] 
    463         //! If there does not exist any sub-element indexed by #index, this method returns false. 
     465        //! If there does not exist any sub-element indexed by index, this method returns false. 
    464466        template<class T> static bool get ( T &instance, const Setting &element, const int index, SettingPresence settingPresence = optional ) { 
    465467                if ( element.getLength() <= index ) { 
     
    490492 
    491493        //! The existing array of type T is initialized with values stored in the Setting element[name] 
    492         //! If there is not any sub-element named #name, this method returns false. 
     494        //! If there is not any sub-element named name, this method returns false. 
    493495        template<class T> static bool get ( Array<T> &array_to_load, const Setting &element, const string &name, SettingPresence settingPresence = optional ) { 
    494496                if ( !element.exists ( name ) ) { 
     
    504506 
    505507        //! The existing array of type T is initialized with values stored in the Setting element[index] 
    506         //! If there is not any sub-element indexed by #index, this method returns false. 
     508        //! If there is not any sub-element indexed by index, this method returns false. 
    507509        template<class T> static bool get ( Array<T> &array_to_load, const Setting &element, const int index, SettingPresence settingPresence = optional ) { 
    508510                if ( element.getLength() <= index ) {