Class which an interface to store the parameters of the objects. More...
#include <SALOMEDSClient_IParameters.hxx>
Public Member Functions | |
virtual | ~SALOMEDSClient_IParameters () |
virtual int | append (const std::string &listName, const std::string &value)=0 |
Appends a string value to a named list. More... | |
virtual int | nbValues (const std::string &listName)=0 |
Returns a number elements in the list. More... | |
virtual std::vector< std::string > | getValues (const std::string &listName)=0 |
Returns a list of values in the list. More... | |
virtual std::string | getValue (const std::string &listName, int index)=0 |
Returns a value with given index, where index is in range [0:nbValues-1]. More... | |
virtual std::vector< std::string > | getLists ()=0 |
Returns a list all entries lists. More... | |
virtual void | setParameter (const std::string &entry, const std::string ¶meterName, const std::string &value)=0 |
Sets a new named parameter value for the given entry. More... | |
virtual std::string | getParameter (const std::string &entry, const std::string ¶meterName)=0 |
Gets a named parameter value for the given entry. More... | |
virtual void | setIdParameter (const std::string &entry, const std::string &value)=0 |
Sets an id parameter value for the given entry. More... | |
virtual std::string | getIdParameter (const std::string &entry)=0 |
Gets an id parameter value for the given entry. More... | |
virtual std::vector< std::string > | getAllParameterNames (const std::string &entry)=0 |
Returns all parameter names of the given entry. More... | |
virtual std::vector< std::string > | getAllParameterValues (const std::string &entry)=0 |
Returns all parameter values of the given entry. More... | |
virtual int | getNbParameters (const std::string &entry)=0 |
Returns a number of parameters of the given entry. More... | |
virtual std::vector< std::string > | getEntries ()=0 |
Returns a list all entries. More... | |
virtual void | setProperty (const std::string &name, const std::string &value)=0 |
Sets a global named property value. More... | |
virtual std::string | getProperty (const std::string &name)=0 |
Gets a value of global named property. More... | |
virtual std::vector< std::string > | getProperties ()=0 |
Returns a list all properties. More... | |
virtual std::vector< std::string > | parseValue (const std::string &value, const char separator, bool fromEnd=true)=0 |
Breaks a value string in two parts which is divided by separator. More... | |
virtual std::string | encodeEntry (const std::string &entry, const std::string &compName)=0 |
Returns encoded entry that is a relative entry for the component. More... | |
virtual std::string | decodeEntry (const std::string &entry)=0 |
Returns decoded entry that is an absolute entry. More... | |
virtual void | setDumpPython (clt_shared_ptr< SALOMEDSClient_Study > study, const std::string &theID="")=0 |
Enables/Disables the dumping visual parameters, static implementation is supposed. More... | |
virtual bool | isDumpPython (clt_shared_ptr< SALOMEDSClient_Study > study, const std::string &theID="")=0 |
Returns whether there is the dumping visual parameters, static implementation is supposed. More... | |
virtual std::string | getDefaultVisualComponent ()=0 |
Returns a default name of the component where the visula parameters are stored. More... | |
Class which an interface to store the parameters of the objects.
|
virtual |
|
pure virtual |
Appends a string value to a named list.
Returns a number of the added value. Note: the name of the list MUST be unique
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns decoded entry that is an absolute entry.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns encoded entry that is a relative entry for the component.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns all parameter names of the given entry.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns all parameter values of the given entry.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns a default name of the component where the visula parameters are stored.
Static implementation is supposed
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns a list all entries.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Gets an id parameter value for the given entry.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns a list all entries lists.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns a number of parameters of the given entry.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Gets a named parameter value for the given entry.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns a list all properties.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Gets a value of global named property.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns a value with given index, where index is in range [0:nbValues-1].
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns a list of values in the list.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Returns whether there is the dumping visual parameters, static implementation is supposed.
|
pure virtual |
Returns a number elements in the list.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Breaks a value string in two parts which is divided by separator.
If fromEnd is True the search of separator starts from the end of the string
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Enables/Disables the dumping visual parameters, static implementation is supposed.
|
pure virtual |
Sets an id parameter value for the given entry.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Sets a new named parameter value for the given entry.
Implemented in SALOMEDS_IParameters.
|
pure virtual |
Sets a global named property value.
Implemented in SALOMEDS_IParameters.