![]() |
OpenWalnut
1.5.0dev
|
Encapsulates a property group. More...
#include <WPropertyGroupWrapper.h>
Collaboration diagram for WPropertyGroupWrapper:Public Member Functions | |
| WPropertyGroupWrapper (std::shared_ptr< WPropertyGroup > group) | |
| Constructor. More... | |
| std::string | getName () const |
| Return the name of the property group. More... | |
| std::string | getDescription () const |
| Return the description of the property group. More... | |
| WPropertyWrapper | getProperty (std::string const &name) |
| Retrieve a property by name. More... | |
| WPropertyGroupWrapper | getGroup (std::string const &name) |
| Retrieve a property group by name. More... | |
Private Attributes | |
| std::shared_ptr< WPropertyGroup > | m_group |
| The property group. More... | |
Encapsulates a property group.
Definition at line 39 of file WPropertyGroupWrapper.h.
|
explicit |
Constructor.
| group | The group. |
Definition at line 30 of file WPropertyGroupWrapper.cpp.
Referenced by getGroup().
Here is the caller graph for this function:| std::string WPropertyGroupWrapper::getDescription | ( | ) | const |
Return the description of the property group.
Definition at line 40 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 50 of file WPropertyGroupWrapper.cpp.
References m_group, and WPropertyGroupWrapper().
Here is the call graph for this function:| std::string WPropertyGroupWrapper::getName | ( | ) | const |
Return the name of the property group.
Definition at line 35 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 45 of file WPropertyGroupWrapper.cpp.
References m_group.
|
private |
The property group.
Definition at line 81 of file WPropertyGroupWrapper.h.
Referenced by getDescription(), getGroup(), getName(), and getProperty().