A list of settings.
More...
#include <SettingList.h>
|
|
using | base = container::List<Setting> |
| | Base storage class.
|
| |
|
using | iterator = typename base::iterator |
| | Storage iterator.
|
| |
|
using | const_iterator = typename base::const_iterator |
| | Storage iterator.
|
| |
|
using | Shared = std::shared_ptr<SettingList> |
| | Shared pointer.
|
| |
|
using | Option = std::optional<SettingList> |
| | Optional.
|
| |
|
using | value_t |
| | Stored type.
|
| |
|
using | base |
| | Base container type.
|
| |
|
using | size_type |
| | Container size (index) type.
|
| |
|
using | iterator |
| | Container iterator type.
|
| |
|
using | const_iterator |
| | Container const iterator type.
|
| |
◆ SettingList() [1/4]
| active::setting::SettingList::SettingList |
( |
| ) |
|
|
inline |
◆ SettingList() [2/4]
| SettingList::SettingList |
( |
const std::initializer_list< ValueSetting > & | settings | ) |
|
Constructor
- Parameters
-
| settings | Settings to populate into the list (NB: for value types only using an initialiser list) |
◆ SettingList() [3/4]
| active::setting::SettingList::SettingList |
( |
const SettingList & | source | ) |
|
|
inline |
Copy constructor
- Parameters
-
◆ SettingList() [4/4]
| active::setting::SettingList::SettingList |
( |
SettingList && | source | ) |
|
|
inline |
Move constructor
- Parameters
-
◆ clonePtr()
| virtual SettingList * active::setting::SettingList::clonePtr |
( |
| ) |
const |
|
inlinevirtual |
◆ contains()
| bool active::setting::SettingList::contains |
( |
const utility::NameID & | nameID | ) |
const |
|
inline |
Determine if the list contains a setting with a specified ID
- Parameters
-
| nameID | The ID to search for |
- Returns
- True if the list contains a matching entry
◆ find() [1/2]
Find a setting with a specified ID
- Parameters
-
| nameID | The ID to search for |
- Returns
- An iterator pointing to the first matching entry (end on failure)
◆ find() [2/2]
Find a setting with a specified ID
- Parameters
-
| nameID | The ID to search for |
- Returns
- An iterator pointing to the first matching entry (end on failure)
◆ findValue()
Find a value setting with a specified ID
- Parameters
-
| nameID | The ID to search for |
- Returns
- A pointer to the requested value setting (nullptr on failure)
◆ operator=()
Assignment operator
- Parameters
-
- Returns
- A reference to this
◆ operator==()
| bool SettingList::operator== |
( |
const SettingList & | ref | ) |
const |
|
virtual |
Equality operator
- Parameters
-
- Returns
- True if the values are identical
The documentation for this class was generated from the following files:
- /Users/rwessel/Documents/Development/ActiveLib/Active/Setting/SettingList.h
- /Users/rwessel/Documents/Development/ActiveLib/Active/Setting/SettingList.cpp