From OpenSCADAWiki
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.