From OpenSCADAWiki
Jump to: navigation, search

Public methods:

  • IO( const char *id, const char *name, IO::Type type, unsigned flgs, const char *def = "", bool hide = false, const char *rez = "" ); — Initializing constructor.
  • IO( const IO &src ); — Copying constructor.
  • IO &operator=( const IO &iio ); — Copying of the function parameters.
  • const string &id( ) const; — ID of the function's parameter.
  • string name( ) const; — The localized name of the function's parameter.
  • const Type &type( ) const; — The type of the function's parameter.
  • unsigned flg( ) const; — The flags of the function's parameter.
  • const string &def( ) const; — Default value.
  • bool hide( ) const; — Sign - "Hide".
  • const string &rez( ) const; — The reserve property of the function's parameter.
  • void setId( const string &val ); — Set the identifier to val.
  • void setName( const string &val ); — Set the name to val.
  • void setType( Type val ); — Set the type to val.
  • void setFlg( unsigned val ); — Set the flags to val.
  • void setDef( const string &val ); — Set the default value to val.
  • void setHide( bool val ); — Set/unset the sign - "Hide".
  • void setRez( const string &val ); — Set the reserve property to val.