Ion
|
A SettingGroup is a convenience class to hold Settings that are in the same hierarchical group. More...
#include "setting.h"
Public Member Functions | |
SettingGroup (const std::string &name) | |
SettingGroup (const SettingGroup &parent_group, std::string name) | |
~SettingGroup () | |
const std::string | GetGroupName () const |
Returns the name of the group that this wraps. More... | |
A SettingGroup is a convenience class to hold Settings that are in the same hierarchical group.
It can be passed to the constructor of a Setting (see below) to place that setting in the group. Since SettingGroup is a simple wrapper, it does not have to have the same lifetime as the Settings in it. See SettingBase (above) for a discussion of groups.
|
inlineexplicit |
Definition at line 117 of file setting.h.
References ion::base::EndsWith(), and ion::base::RemoveSuffix().
|
inline |
Definition at line 121 of file setting.h.
References ion::base::EndsWith(), GetGroupName(), name, ion::base::RemovePrefix(), ion::base::RemoveSuffix(), and ion::base::StartsWith().
|
inline |
Returns the name of the group that this wraps.
Definition at line 131 of file setting.h.
Referenced by SettingGroup().