Class for adding property interface to another class. More...
#include <PropertyInterface.hxx>
Public Member Functions | |
virtual | ~PropertyInterface () |
virtual void | setProperty (const std::string &name, const std::string &value) |
virtual std::string | getProperty (const std::string &name) |
Get a property value given its name. More... | |
std::map< std::string, std::string > | getProperties () const |
virtual void | setProperties (std::map< std::string, std::string > properties) |
Protected Attributes | |
std::map< std::string, std::string > | _propertyMap |
Class for adding property interface to another class.
Definition at line 32 of file PropertyInterface.hxx.
|
virtual |
Definition at line 33 of file PropertyInterface.cxx.
|
inline |
Definition at line 39 of file PropertyInterface.hxx.
Referenced by YACS::ENGINE::SalomeContainerTools::CreateComponentInstance(), YACS::HMI::SubjectComponent::getProperties(), YACS::HMI::CommandSetComponentInstanceProperties::localExecute(), and YACS::ENGINE::VisitorSaveSchema::writeComponentInstances().
|
virtual |
Get a property value given its name.
name | : the property name |
Definition at line 48 of file PropertyInterface.cxx.
References DEBTRACE.
|
virtual |
Definition at line 54 of file PropertyInterface.cxx.
References DEBTRACE.
Referenced by YACS::HMI::CommandSetComponentInstanceProperties::localExecute(), and YACS::HMI::CommandSetComponentInstanceProperties::localReverse().
|
virtual |
Definition at line 37 of file PropertyInterface.cxx.
References DEBTRACE.
Referenced by YACS::proctypeParser< T >::componentinstance().
|
protected |
Definition at line 42 of file PropertyInterface.hxx.