From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 19: Line 19:
 
* ''void setSysItem( bool vl );'' — Setting the sign of system user to ''vl''.
 
* ''void setSysItem( bool vl );'' — Setting the sign of system user to ''vl''.
 
* ''void setDB( const string &vl, bool qTop = false );'' — Setting the user's storage address, ''qTop'' for the storage queue top.
 
* ''void setDB( const string &vl, bool qTop = false );'' — Setting the user's storage address, ''qTop'' for the storage queue top.
* ''TSeсurity &owner( ) const;'' — "Security" subsystem - the owner of the user.
+
* ''TSecurity &owner( ) const;'' — "Security" subsystem - the owner of the user.

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:'''
* ''TUser( const string &name, const string &db, TElem *el );'' — Initialising constructor.
* ''string name( );'' — User name.
* ''string descr( );'' — User description.
* ''string longDescr( );'' — User long description.
* ''string picture( );'' — User image.
* ''string lang( );'' — User language, only into the dynamic translation text variables mode.
* ''bool sysItem( );'' — Sign of the system user.
* ''bool auth( const string &pass, string *hash = NULL );'' — Check the authenticity of the user by the password ''pass''. The password hash, if it is supports, placing into the ''hash''.
* ''int permitCmpr( const string &user );'' — Comparing the ''user'' permition with the user object. Returns -1 for lesser, 1 for greater and 0 for even permition.
* ''string DB( bool qTop = false ) const;'' — User storage address, ''qTop'' for the storage queue top.
* ''string tbl( ) const;'' — Address of the table of user's storage.
* ''string fullDB( bool qTop = false ) const;'' — Full name of the table of user's storage, ''qTop'' for the storage queue top.
* ''void setDescr( const string &vl );'' — Setting user's description to ''vl''.
* ''void setLongDescr( const string &vl );'' — Setting user's long description to ''vl''.
* ''void setPicture( const string &pct );'' — Setting user's image to ''pct''.
* ''void setLang( const string &vl );'' — Setting user's language to ''vl''.
* ''void setPass( const string &pass );'' — Setting user's password to ''pass''.
* ''void setSysItem( bool vl );'' — Setting the sign of system user to ''vl''.
* ''void setDB( const string &vl, bool qTop = false );'' — Setting the user's storage address, ''qTop'' for the storage queue top.
* ''TSecurity &owner( ) const;'' — "Security" subsystem - the owner of the user.
Translation'''Public methods:'''
* ''TUser( const string &name, const string &db, TElem *el );'' — Initialising constructor.
* ''string name( );'' — User name.
* ''string descr( );'' — User description.
* ''string longDescr( );'' — User long description.
* ''string picture( );'' — User image.
* ''string lang( );'' — User language, only into the dynamic translation text variables mode.
* ''bool sysItem( );'' — Sign of the system user.
* ''bool auth( const string &pass, string *hash = NULL );'' — Check the authenticity of the user by the password ''pass''. The password hash, if it is supports, placing into the ''hash''.
* ''int permitCmpr( const string &user );'' — Comparing the ''user'' permition with the user object. Returns -1 for lesser, 1 for greater and 0 for even permition.
* ''string DB( bool qTop = false ) const;'' — User storage address, ''qTop'' for the storage queue top.
* ''string tbl( ) const;'' — Address of the table of user's storage.
* ''string fullDB( bool qTop = false ) const;'' — Full name of the table of user's storage, ''qTop'' for the storage queue top.
* ''void setDescr( const string &vl );'' — Setting user's description to ''vl''.
* ''void setLongDescr( const string &vl );'' — Setting user's long description to ''vl''.
* ''void setPicture( const string &pct );'' — Setting user's image to ''pct''.
* ''void setLang( const string &vl );'' — Setting user's language to ''vl''.
* ''void setPass( const string &pass );'' — Setting user's password to ''pass''.
* ''void setSysItem( bool vl );'' — Setting the sign of system user to ''vl''.
* ''void setDB( const string &vl, bool qTop = false );'' — Setting the user's storage address, ''qTop'' for the storage queue top.
* ''TSecurity &owner( ) const;'' — "Security" subsystem - the owner of the user.

Public methods:

  • TUser( const string &name, const string &db, TElem *el ); — Initialising constructor.
  • string name( ); — User name.
  • string descr( ); — User description.
  • string longDescr( ); — User long description.
  • string picture( ); — User image.
  • string lang( ); — User language, only into the dynamic translation text variables mode.
  • bool sysItem( ); — Sign of the system user.
  • bool auth( const string &pass, string *hash = NULL ); — Check the authenticity of the user by the password pass. The password hash, if it is supports, placing into the hash.
  • int permitCmpr( const string &user ); — Comparing the user permition with the user object. Returns -1 for lesser, 1 for greater and 0 for even permition.
  • string DB( bool qTop = false ) const; — User storage address, qTop for the storage queue top.
  • string tbl( ) const; — Address of the table of user's storage.
  • string fullDB( bool qTop = false ) const; — Full name of the table of user's storage, qTop for the storage queue top.
  • void setDescr( const string &vl ); — Setting user's description to vl.
  • void setLongDescr( const string &vl ); — Setting user's long description to vl.
  • void setPicture( const string &pct ); — Setting user's image to pct.
  • void setLang( const string &vl ); — Setting user's language to vl.
  • void setPass( const string &pass ); — Setting user's password to pass.
  • void setSysItem( bool vl ); — Setting the sign of system user to vl.
  • void setDB( const string &vl, bool qTop = false ); — Setting the user's storage address, qTop for the storage queue top.
  • TSecurity &owner( ) const; — "Security" subsystem - the owner of the user.