#include <OnixS/CME/MDH/SettingGroup.h>
Public Types | |
| using | Item = Type |
| using | Items = Container |
| using | Size = typename Items::size_type |
| using | Iterator = typename Items::const_iterator |
Public Member Functions | |
| ListSetting (const SettingGroup *group=nullptr) | |
| ListSetting (const ListSetting &other) | |
| template<class InputIterator> | |
| ListSetting (InputIterator first, InputIterator last) | |
| operator const Items & () const | |
| bool | empty () const |
| Size | size () const |
| Iterator | begin () const |
| Iterator | end () const |
| const Item & | operator[] (Size index) const |
| template<class Initializer> | |
| void | initialize (Initializer initializer) |
| void | push_back (const Item &item) |
| void | clear () |
| ListSetting & | operator= (const ListSetting &other) |
| template<class InputIterator> | |
| ListSetting & | assign (InputIterator first, InputIterator last) |
| ListSetting & | assignNoControl (const ListSetting &other) |
| Type | Type of each stored item. |
| Container | Container used to store the items. It must provide the std::vector-like types and operations used by each instantiated member. |
Definition at line 234 of file SettingGroup.h.
| using Item = Type |
Type stored in the list.
Definition at line 238 of file SettingGroup.h.
| using Items = Container |
Container used to store list items.
Definition at line 241 of file SettingGroup.h.
| using Iterator = typename Items::const_iterator |
Read-only iterator over list items.
Definition at line 247 of file SettingGroup.h.
| using Size = typename Items::size_type |
Type used for list sizes and indices.
Definition at line 244 of file SettingGroup.h.
|
inlineexplicit |
Creates an empty list associated with a setting group.
| group | Group that controls mutations, or null for the shared null group. |
| Any | exception thrown by the container default constructor. |
Definition at line 253 of file SettingGroup.h.
|
inline |
Copies another list's items into an unmanaged list.
| other | List whose items are copied. |
| Any | exception thrown by the container copy constructor. |
Definition at line 262 of file SettingGroup.h.
|
inline |
Creates an unmanaged list from an iterator range.
| InputIterator | Input iterator type accepted by the container. |
| first | Beginning of the source range. |
| last | End of the source range. |
| Any | exception thrown by the container range constructor. |
Definition at line 275 of file SettingGroup.h.
|
inline |
Replaces the items with a guarded copy of an iterator range.
| InputIterator | Input iterator type accepted by the container. |
| first | Beginning of the source range. |
| last | End of the source range. |
| std::runtime_error | If the list belongs to a handler that is processing market data or being configured from another source. |
| Any | exception thrown by the change controller or container range-assignment operation. |
Definition at line 395 of file SettingGroup.h.
|
inline |
Replaces the items without consulting the change controller.
| other | List whose items are copied. |
| Any | exception thrown by container copy assignment. |
Definition at line 408 of file SettingGroup.h.
|
inline |
Obtains an iterator to the first item.
Definition at line 310 of file SettingGroup.h.
|
inline |
Removes all items through the associated change controller.
| std::runtime_error | If the list belongs to a handler that is processing market data or being configured from another source. |
| Any | exception thrown by the change controller or container clear operation. |
Definition at line 366 of file SettingGroup.h.
|
inline |
Checks whether the list contains no items.
Definition at line 294 of file SettingGroup.h.
|
inline |
Obtains an iterator past the final item.
Definition at line 318 of file SettingGroup.h.
|
inline |
Replaces the list contents through a guarded initializer callback.
| Initializer | Type of the callable used by the initialization routine. |
| initializer | Callable passed by value to populate the cleared underlying container. |
| std::runtime_error | If the list belongs to a handler that is processing market data or being configured from another source. |
| Any | exception thrown by the change controller, initializer copies, initializer invocation, or the container clear operation. |
Definition at line 343 of file SettingGroup.h.
|
inline |
Provides read-only access to the underlying container.
Definition at line 286 of file SettingGroup.h.
|
inline |
Replaces the items with a guarded copy of another list.
| other | List whose items are copied. |
| std::runtime_error | If the list belongs to a handler that is processing market data or being configured from another source. |
| Any | exception thrown by the change controller or container copy assignment. |
Definition at line 378 of file SettingGroup.h.
|
inline |
Accesses an item without bounds checking.
| index | Zero-based index of the item to access. |
Definition at line 328 of file SettingGroup.h.
|
inline |
Appends a copy of an item through the associated change controller.
| item | Item to append. |
| std::runtime_error | If the list belongs to a handler that is processing market data or being configured from another source. |
| Any | exception thrown by the change controller or container insertion operation. |
Definition at line 353 of file SettingGroup.h.
|
inline |
Obtains the number of items in the list.
Definition at line 302 of file SettingGroup.h.