From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 14: Line 14:
 
* ''void userAdd( const string &name );'' — Addition of the user ''name'' to the group.
 
* ''void userAdd( const string &name );'' — Addition of the user ''name'' to the group.
 
* ''void userDel( const string &name );'' — Deleting of the user ''name'' from the group.
 
* ''void userDel( const string &name );'' — Deleting of the user ''name'' from the group.
* ''TSeсurity &owner( ) const;'' — "Security" subsystem - the owner of the users' group.
+
* ''TSecurity &owner( ) const;'' — "Security" subsystem - the owner of the users' group.

Latest revision as of 16:39, 19 January 2023

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:'''
* ''TGroup( const string &name, const string &db, TElem *el );'' —  Initializing constructor.
* ''string name( );'' — Users group name.
* ''string descr( );'' — Users group description.
* ''string longDescr( );'' — Users group long description.
* ''bool sysItem( );'' — The sign of the system user.
* ''string DB( bool qTop = false ) const;'' — Users' group storage address, ''qTop'' for the storage queue top.
* ''string tbl( ) const;'' — Address of the table of the users' group DB.
* ''string fullDB( bool qTop = false ) const;'' — Full name of the table of the users' group storage, ''qTop'' for the storage queue top.
* ''void setDescr( const string &vl );'' — Setting users group description to ''vl''.
* ''void setLongDescr( const string &vl );'' — Setting users group long description to ''vl''.
* ''void setDB( const string &vl, bool qTop = false );'' — Setting the users' group storage address, ''qTop'' for the storage queue top.
* ''bool user( const string &name );'' — Check for the user's belonging to the group ''name''.
* ''void userAdd( const string &name );'' — Addition of the user ''name'' to the group.
* ''void userDel( const string &name );'' — Deleting of the user ''name'' from the group.
* ''TSecurity &owner( ) const;'' — "Security" subsystem - the owner of the users' group.
Translation'''Public methods:'''
* ''TGroup( const string &name, const string &db, TElem *el );'' —  Initializing constructor.
* ''string name( );'' — Users group name.
* ''string descr( );'' — Users group description.
* ''string longDescr( );'' — Users group long description.
* ''bool sysItem( );'' — The sign of the system user.
* ''string DB( bool qTop = false ) const;'' — Users' group storage address, ''qTop'' for the storage queue top.
* ''string tbl( ) const;'' — Address of the table of the users' group DB.
* ''string fullDB( bool qTop = false ) const;'' — Full name of the table of the users' group storage, ''qTop'' for the storage queue top.
* ''void setDescr( const string &vl );'' — Setting users group description to ''vl''.
* ''void setLongDescr( const string &vl );'' — Setting users group long description to ''vl''.
* ''void setDB( const string &vl, bool qTop = false );'' — Setting the users' group storage address, ''qTop'' for the storage queue top.
* ''bool user( const string &name );'' — Check for the user's belonging to the group ''name''.
* ''void userAdd( const string &name );'' — Addition of the user ''name'' to the group.
* ''void userDel( const string &name );'' — Deleting of the user ''name'' from the group.
* ''TSecurity &owner( ) const;'' — "Security" subsystem - the owner of the users' group.

Public methods:

  • TGroup( const string &name, const string &db, TElem *el ); — Initializing constructor.
  • string name( ); — Users group name.
  • string descr( ); — Users group description.
  • string longDescr( ); — Users group long description.
  • bool sysItem( ); — The sign of the system user.
  • string DB( bool qTop = false ) const; — Users' group storage address, qTop for the storage queue top.
  • string tbl( ) const; — Address of the table of the users' group DB.
  • string fullDB( bool qTop = false ) const; — Full name of the table of the users' group storage, qTop for the storage queue top.
  • void setDescr( const string &vl ); — Setting users group description to vl.
  • void setLongDescr( const string &vl ); — Setting users group long description to vl.
  • void setDB( const string &vl, bool qTop = false ); — Setting the users' group storage address, qTop for the storage queue top.
  • bool user( const string &name ); — Check for the user's belonging to the group name.
  • void userAdd( const string &name ); — Addition of the user name to the group.
  • void userDel( const string &name ); — Deleting of the user name from the group.
  • TSecurity &owner( ) const; — "Security" subsystem - the owner of the users' group.