|
lintel 0.2.0
|
#include <Arguments.h>
Public Member Functions | |
| Arguments (ConnectionType connectionType) | |
| void | add (Argument &argument) |
| std::size_t | size () const |
| bool | empty () const |
| Argument & | of (std::size_t iterator) |
| const Argument & | of (std::size_t iterator) const |
| const Argument & | of (const std::string &name) const |
| Iterator | begin () |
| Iterator | end () |
| ConstIterator | begin () const |
| ConstIterator | end () const |
A collection of Argument objects with random-access iteration and lookup by name.
|
explicit |
Constructs an Arguments container with the given connection type.
| connectionType | the connection type used for typed deserialization |
|
inline |
|
inline |
| bool lintel::db::Arguments::empty | ( | ) | const |
|
inline |
|
inline |
Looks up an argument by name.
| name | the argument name |
| Argument & lintel::db::Arguments::of | ( | std::size_t | iterator | ) |
Accesses an argument by position (mutable).
| iterator | the index |
Accesses an argument by position (const).
| iterator | the index |
| std::size_t lintel::db::Arguments::size | ( | ) | const |