From OpenSCADAWiki
Jump to: navigation, search

Enter a message name below to show all available translations.

Message

Found one translation.

NameCurrent message text
 h English (en)'''Public methods:'''
* ''TVarObj( );'' — Constructor.
* ''int connect( );'' — Connection to the object.
* ''int disconnect( );'' — Disconnection from the object.
* ''virtual void propList( vector<string> &ls );'' — Object's properties list ''ls''.
* ''virtual TVariant propGet( const string &id );'' — Request of the object property with an ID ''id''.
* ''TVariant propGet( const string &ids, char sep );'' — Request of the object hierarchical property with a path ''ids'' and separator ''sep''.
* ''virtual void propSet( const string &id, TVariant val );'' — Set the object property with an ID ''id'' to the value ''val''.
* ''void propSet( const string &ids, char sep, TVariant val );'' — Set the object hierarchical property with a path ''ids'' and separator ''sep'' to the value ''val''.
* ''void propClear( const string &ids = "" );'' — Property ''ids'' clear or all properties clear for empty ''ids''.
* ''virtual string getStrXML( const string &oid = "" );'' — Conversion of the contents of the object in the XML flow.
* ''static AutoHD<TVarObj> parseStrXML( const string &str, XMLNode *nd = NULL, AutoHD<TVarObj> prev = NULL );'' — Backward serialization for XML-stream to object.
* ''virtual TVariant funcCall( const string &id, vector<TVariant> &prms );'' — Call of the object function with the ID ''id'' and with the parameters ''prms''.