From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 12: Line 12:
 
* ''TElem &elem( );'' — The using structure.
 
* ''TElem &elem( );'' — The using structure.
 
* ''void setElem( TElem *Elements, bool first = false );'' — Setting the structure in ''Elements''.
 
* ''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 cntrCmdMake( TCntrNode *cntrO, XMLNode *fld, const string &path, int pos, const string &owner = "root", const string &group = "root", int perm = 0664 );'' — Formation of the information description of elements of the configuration for the control 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.
+
* ''void cntrCmdProc( TCntrNode *cntrO, XMLNode *fld, const string &elem, const string &owner = "root", const string &group = "root", int perm = 0664 );'' — Requests' of the OpenSCADA control interface to the elements of processing the configuration.
 
* ''bool incomplTblStruct( );'' — The DB struct incomplete flag.
 
* ''bool incomplTblStruct( );'' — The DB struct incomplete flag.
 
* ''void setIncmplTblStrct( bool vl );'' — Setting the DB struct incomplete flag to ''vl''.
 
* ''void setIncmplTblStrct( bool vl );'' — Setting the DB struct incomplete flag to ''vl''.

Latest revision as of 23:19, 15 February 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Documents/API)
'''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( TCntrNode *cntrO, XMLNode *fld, const string &path, int pos, const string &owner = "root", const string &group = "root", int perm = 0664 );'' — Formation of the information description of elements of the configuration for the control interface of OpenSCADA.
* ''void cntrCmdProc( TCntrNode *cntrO, XMLNode *fld, const string &elem, const string &owner = "root", const string &group = "root", int perm = 0664 );'' — Requests' of the OpenSCADA control interface to the elements of processing the configuration.
* ''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.
Translation'''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( TCntrNode *cntrO, XMLNode *fld, const string &path, int pos, const string &owner = "root", const string &group = "root", int perm = 0664 );'' — Formation of the information description of elements of the configuration for the control interface of OpenSCADA.
* ''void cntrCmdProc( TCntrNode *cntrO, XMLNode *fld, const string &elem, const string &owner = "root", const string &group = "root", int perm = 0664 );'' — Requests' of the OpenSCADA control interface to the elements of processing the configuration.
* ''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.

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( TCntrNode *cntrO, XMLNode *fld, const string &path, int pos, const string &owner = "root", const string &group = "root", int perm = 0664 ); — Formation of the information description of elements of the configuration for the control interface of OpenSCADA.
  • void cntrCmdProc( TCntrNode *cntrO, XMLNode *fld, const string &elem, const string &owner = "root", const string &group = "root", int perm = 0664 ); — Requests' of the OpenSCADA control interface to the elements of processing the configuration.
  • 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.