From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 25: Line 25:
 
* ''void setSelNames( const string &slnms );'' — Set the list of values' names for the selectable type (as — "Value 1;Value 2;Value 3") to the ''slnms''.
 
* ''void setSelNames( const string &slnms );'' — Set the list of values' names for the selectable type (as — "Value 1;Value 2;Value 3") to the ''slnms''.
 
* ''void setReserve( const string &ires );'' — Set of the reserve parameter to ''res''.
 
* ''void setReserve( const string &ires );'' — Set of the reserve parameter to ''res''.
* ''XMLNode *cntrCmdMake( XMLNode *opt, const string &path, int pos, const string &user = "root", const string &grp = "root", int perm = 0664 );'' — Create a form element in accordance with the parameters of the cell.
+
* ''XMLNode *cntrCmdMake( TCntrNode *cntrO, XMLNode *opt, const string &path, int pos, const string &owner = "root", const string &group = "root", int perm = 0664 );'' — Create a form element in accordance with the parameters of the cell.

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:'''
* ''TFld( );'' — Initialization by default.
* ''TFld( const TFld &ifld, const char *name = NULL );'' — Copying constructor, with possibility for individual ''name'' set.
* ''TFld( const char *name, const string &descr, Type type, unsigned flg, const char *valLen = "", const char *valDef = "", const string &vals = "", const string &nSel = "", const char *res = "" );'' —  Initialization with the specified configuration.
* ''TFld &operator=( const TFld &fld );'' — Copy of the cell from ''fld''.
* ''const string &name( ) const;'' — Cell's name.
* ''string descr( ) const;'' — Cell's description.
* ''string lenS( ) const;'' — Combined string variant of the length field in the form "{len}.{dec}".
* ''int len( ) const;'' — Size of the cell's value (symbols in symbolic representation).
* ''int dec( ) const;'' — Size of the fractional part of a real (symbols in symbolic representation).
* ''Type type( ) const;'' — Cell's type.
* ''static Type type(IO::Type tp);'' — Cell's type from IO::Type type.
* ''IO::Type typeIO( ) const;'' — Cell's type in IO::Type.
* ''unsigned flg( ) const;'' — Cell's flag.
* ''const string &def( ) const;'' — Default value.
* ''string values( ) const;'' — Working range of the value or a list of possible values for the selectable type (as — "vl1;vl2;vl3").
* ''string selNames( ) const;'' — List of names of values for the selectable type (as — "Value 1;Value 2;Value 3").
* ''const string &reserve( ) const;'' — Reserve parameter.
* ''void setDescr( const string &dscr );'' — Set the descrition to the ''dscr''.
* ''void setLen( int vl );'' — Set the cell's size to the ''vl''.
* ''void setDec( int vl );'' — Set the fraction part of the real to the ''vl''.
* ''void setDef( const string &def );'' — Set the default value to the ''def''.
* ''void setFlg( unsigned flg );'' — Set the flags to ''flg''.
* ''void setValues( const string &vls );'' — Set the working range of value or the list of possible values for the selectable type (as — "vl1;vl2;vl3") to the ''vls''.
* ''void setSelNames( const string &slnms );'' — Set the list of values' names for the selectable type (as — "Value 1;Value 2;Value 3") to the ''slnms''.
* ''void setReserve( const string &ires );'' — Set of the reserve parameter to ''res''.
* ''XMLNode *cntrCmdMake( TCntrNode *cntrO, XMLNode *opt, const string &path, int pos, const string &owner = "root", const string &group = "root", int perm = 0664 );'' — Create a form element in accordance with the parameters of the cell.
Translation'''Public methods:'''
* ''TFld( );'' — Initialization by default.
* ''TFld( const TFld &ifld, const char *name = NULL );'' — Copying constructor, with possibility for individual ''name'' set.
* ''TFld( const char *name, const string &descr, Type type, unsigned flg, const char *valLen = "", const char *valDef = "", const string &vals = "", const string &nSel = "", const char *res = "" );'' —  Initialization with the specified configuration.
* ''TFld &operator=( const TFld &fld );'' — Copy of the cell from ''fld''.
* ''const string &name( ) const;'' — Cell's name.
* ''string descr( ) const;'' — Cell's description.
* ''string lenS( ) const;'' — Combined string variant of the length field in the form "{len}.{dec}".
* ''int len( ) const;'' — Size of the cell's value (symbols in symbolic representation).
* ''int dec( ) const;'' — Size of the fractional part of a real (symbols in symbolic representation).
* ''Type type( ) const;'' — Cell's type.
* ''static Type type(IO::Type tp);'' — Cell's type from IO::Type type.
* ''IO::Type typeIO( ) const;'' — Cell's type in IO::Type.
* ''unsigned flg( ) const;'' — Cell's flag.
* ''const string &def( ) const;'' — Default value.
* ''string values( ) const;'' — Working range of the value or a list of possible values for the selectable type (as — "vl1;vl2;vl3").
* ''string selNames( ) const;'' — List of names of values for the selectable type (as — "Value 1;Value 2;Value 3").
* ''const string &reserve( ) const;'' — Reserve parameter.
* ''void setDescr( const string &dscr );'' — Set the descrition to the ''dscr''.
* ''void setLen( int vl );'' — Set the cell's size to the ''vl''.
* ''void setDec( int vl );'' — Set the fraction part of the real to the ''vl''.
* ''void setDef( const string &def );'' — Set the default value to the ''def''.
* ''void setFlg( unsigned flg );'' — Set the flags to ''flg''.
* ''void setValues( const string &vls );'' — Set the working range of value or the list of possible values for the selectable type (as — "vl1;vl2;vl3") to the ''vls''.
* ''void setSelNames( const string &slnms );'' — Set the list of values' names for the selectable type (as — "Value 1;Value 2;Value 3") to the ''slnms''.
* ''void setReserve( const string &ires );'' — Set of the reserve parameter to ''res''.
* ''XMLNode *cntrCmdMake( TCntrNode *cntrO, XMLNode *opt, const string &path, int pos, const string &owner = "root", const string &group = "root", int perm = 0664 );'' — Create a form element in accordance with the parameters of the cell.

Public methods:

  • TFld( ); — Initialization by default.
  • TFld( const TFld &ifld, const char *name = NULL ); — Copying constructor, with possibility for individual name set.
  • TFld( const char *name, const string &descr, Type type, unsigned flg, const char *valLen = "", const char *valDef = "", const string &vals = "", const string &nSel = "", const char *res = "" ); — Initialization with the specified configuration.
  • TFld &operator=( const TFld &fld ); — Copy of the cell from fld.
  • const string &name( ) const; — Cell's name.
  • string descr( ) const; — Cell's description.
  • string lenS( ) const; — Combined string variant of the length field in the form "{len}.{dec}".
  • int len( ) const; — Size of the cell's value (symbols in symbolic representation).
  • int dec( ) const; — Size of the fractional part of a real (symbols in symbolic representation).
  • Type type( ) const; — Cell's type.
  • static Type type(IO::Type tp); — Cell's type from IO::Type type.
  • IO::Type typeIO( ) const; — Cell's type in IO::Type.
  • unsigned flg( ) const; — Cell's flag.
  • const string &def( ) const; — Default value.
  • string values( ) const; — Working range of the value or a list of possible values for the selectable type (as — "vl1;vl2;vl3").
  • string selNames( ) const; — List of names of values for the selectable type (as — "Value 1;Value 2;Value 3").
  • const string &reserve( ) const; — Reserve parameter.
  • void setDescr( const string &dscr ); — Set the descrition to the dscr.
  • void setLen( int vl ); — Set the cell's size to the vl.
  • void setDec( int vl ); — Set the fraction part of the real to the vl.
  • void setDef( const string &def ); — Set the default value to the def.
  • void setFlg( unsigned flg ); — Set the flags to flg.
  • void setValues( const string &vls ); — Set the working range of value or the list of possible values for the selectable type (as — "vl1;vl2;vl3") to the vls.
  • void setSelNames( const string &slnms ); — Set the list of values' names for the selectable type (as — "Value 1;Value 2;Value 3") to the slnms.
  • void setReserve( const string &ires ); — Set of the reserve parameter to res.
  • XMLNode *cntrCmdMake( TCntrNode *cntrO, XMLNode *opt, const string &path, int pos, const string &owner = "root", const string &group = "root", int perm = 0664 ); — Create a form element in accordance with the parameters of the cell.