From OpenSCADAWiki
Public methods:
- TConfig( TElem *Elements = NULL ); — Initializing constructor.
- TConfig( const TConfig &src ); — Copying constructor.
- TConfig &operator=( const TConfig &cfg ); TConfig &exclCopy( const TConfig &cfg, const string &passCpLs = "", bool cpElsToSingle = false ); — Copying from cfg, passing fields into passCpLs and creating same this fields cpElsToSingle for combined configurations.
- void cfgList( vector<string> &list ) const; — Elements' list list.
- bool cfgPresent( const string &n_val ) const; — Check for the element's presence n_val.
- TCfg &cfg( const string &n_val ) const; — Getting of th element n_val.
- TCfg *at( const string &n_val, bool noExpt = false ) const; — Getting of the element's pointer n_val. If the element is absent an exception is generated or the null pointer is returned when setting noExpt.
- void cfgViewAll( bool val = true ); — Set/unset the sign of the visibility for all the elements.
- void cfgKeyUseAll( bool val ); — Set/unset the sign of the using the key for all the elements.
- void cfgToDefault( ); — Setting all not key and view fields to the default value.
- TElem &elem( ); — The using structure.
- void setElem( TElem *Elements, bool first = false ); — Setting the structure in Elements.
- void cntrCmdMake( XMLNode *fld, const string &path, int pos, const string &user = "root", const string &grp = "root", int perm = 0664 ); — Formation of the information description of elements of the configuration for the management interface of OpenSCADA.
- void cntrCmdProc( XMLNode *fld, const string &elem, const string &user = "root", const string &grp = "root", int perm = 0664 ); — Requests' of the OpenSCADA management interface to the elements of the configuration processing.
- bool incomplTblStruct( ); — The DB struct incomplete flag.
- void setIncmplTblStrct( bool vl ); — Setting the DB struct incomplete flag to vl.
- bool reqKeys( ); — The sign "Requests key", mark for using the request keys by the group items.
- bool trcSet( ) const; — The setting elements tracing.
- void setTrcSet( bool vl ); — Setting the setting elements tracing, at setting TRUE all marks of the items setting are cleared.
- bool noTransl( ) const; — The sign "No translation" is provided to disable the translation of all text variables of the record by default.
- void setNoTransl( bool vl ); — Setting of the sign "No translation".
- TVariant objFunc( const string &id, vector<TVariant> &prms, const string &user_lang, int perm, const string &owner ); — User API object functions of accessing to the configuration with the permition control.