OpenWalnut
1.4.0
|
Encapsulates a property group. More...
#include <WPropertyGroupWrapper.h>
Public Member Functions | |
WPropertyGroupWrapper (boost::shared_ptr< WPropertyGroup > group) | |
Constructor. | |
std::string | getName () const |
Return the name of the property group. | |
std::string | getDescription () const |
Return the description of the property group. | |
WPropertyWrapper | getProperty (std::string const &name) |
Retrieve a property by name. | |
WPropertyGroupWrapper | getGroup (std::string const &name) |
Retrieve a property group by name. | |
Private Attributes | |
boost::shared_ptr< WPropertyGroup > | m_group |
The property group. |
Encapsulates a property group.
Definition at line 39 of file WPropertyGroupWrapper.h.
WPropertyGroupWrapper::WPropertyGroupWrapper | ( | boost::shared_ptr< WPropertyGroup > | group | ) | [explicit] |
Constructor.
group | The group. |
Definition at line 29 of file WPropertyGroupWrapper.cpp.
Referenced by getGroup().
std::string WPropertyGroupWrapper::getDescription | ( | ) | const |
Return the description of the property group.
Definition at line 39 of file WPropertyGroupWrapper.cpp.
References m_group.
WPropertyGroupWrapper WPropertyGroupWrapper::getGroup | ( | std::string const & | name | ) |
Retrieve a property group by name.
name | The name of the group to look for. |
Definition at line 49 of file WPropertyGroupWrapper.cpp.
References m_group, and WPropertyGroupWrapper().
std::string WPropertyGroupWrapper::getName | ( | ) | const |
Return the name of the property group.
Definition at line 34 of file WPropertyGroupWrapper.cpp.
References m_group.
WPropertyWrapper WPropertyGroupWrapper::getProperty | ( | std::string const & | name | ) |
Retrieve a property by name.
name | The name of the property. |
Definition at line 44 of file WPropertyGroupWrapper.cpp.
References m_group.
boost::shared_ptr< WPropertyGroup > WPropertyGroupWrapper::m_group [private] |
The property group.
Definition at line 81 of file WPropertyGroupWrapper.h.
Referenced by getDescription(), getGroup(), getName(), and getProperty().