|
| | string (const std::string &name="", const std::string &value="", const std::string &label="", const std::string &help="") |
| |
| | string (const std::string &name, const std::vector< std::string > &values, const std::string &label="", const std::string &help="") |
| |
| void | setValue (const std::string &value) |
| |
| void | setValues (const std::vector< std::string > &values) |
| |
| void | setKind (const std::string &kind) |
| |
| void | setChoices (const std::vector< std::string > &choices) |
| |
| std::string | getType () const |
| |
| const std::string & | getValue () const |
| |
| std::string | getValueAsString () const |
| |
| const std::vector< std::string > & | getValues () const |
| |
| int | getNumValues () const |
| |
| const std::string & | getKind () const |
| |
| const std::vector< std::string > & | getChoices () const |
| |
| void | update (const string &p) |
| |
| std::string | toChar () const |
| |
| std::string::size_type | fromChar (const std::string &msg) |
| |
| std::string | toJSON () const |
| |
| bool | fromJSON (const std::string &json) |
| |
| bool | fromJSON (const picojson::value::object &par) |
| |
| | parameter (const std::string &name="", const std::string &label="", const std::string &help="") |
| |
| virtual | ~parameter () |
| |
| void | setName (const std::string &name) |
| |
| void | setLabel (const std::string &label) |
| |
| void | setHelp (const std::string &help) |
| |
| void | setChanged (int changed, const std::string &client="") |
| |
| void | setChangedValue (int value) |
| |
| void | setNeverChanged (bool never) |
| |
| void | setVisible (bool visible) |
| |
| void | setReadOnly (bool readOnly) |
| |
| void | setAttribute (const std::string &key, const std::string &value) |
| |
| void | setAttributes (const std::map< std::string, std::string > &attributes) |
| |
| void | setClients (const std::map< std::string, int > &clients) |
| |
| void | addClient (const std::string &client, int changed) |
| |
| void | addClients (const std::map< std::string, int > &clients) |
| |
| bool | hasClient (const std::string &client) |
| |
| int | getNumClients () |
| |
| const std::string & | getName () const |
| |
| const std::string & | getLabel () const |
| |
| const std::string & | getHelp () const |
| |
| std::string | getPath () const |
| |
| std::string | getShortName () const |
| |
| int | getChanged (const std::string &client="") const |
| |
| int | getChangedValue () const |
| |
| bool | getNeverChanged () const |
| |
| bool | getVisible () const |
| |
| bool | getReadOnly () const |
| |
| std::string | getAttribute (const std::string &key) const |
| |
| const std::map< std::string, std::string > & | getAttributes () const |
| |
| const std::map< std::string, int > & | getClients () const |
| |
| std::string | sanitize (const std::string &in) const |
| |
| std::string | sanitizeJSON (const std::string &in) const |
| |
|
| static char | charSep () |
| |
| static double | maxNumber () |
| |
| static std::string | version () |
| |
| static int | defaultChangedValue () |
| |
| static std::string | getNextToken (const std::string &msg, std::string::size_type &first, char separator=charSep()) |
| |
| static std::vector< std::string > | split (const std::string &msg, char separator=charSep()) |
| |
| static std::string | trim (const std::string &str, const std::string &whitespace=" \t\n") |
| |
| static void | getInfoFromChar (const std::string &msg, std::string &version, std::string &type, std::string &name) |
| |
| static bool | fromFile (std::vector< std::string > &msg, FILE *fp) |
| |
| static bool | toFile (const std::vector< std::string > &msg, FILE *fp, const std::string &creator) |
| |
| std::map< std::string, std::string > | _attributes |
| |
Definition at line 678 of file onelab.h.