Stored properties iterator.
More...
#include <properties.h>
Stored properties iterator.
ugcs::vsm::Properties::Iterator::Iterator |
( |
const Table_type::const_iterator & |
iterator, |
|
|
const Table_type::const_iterator & |
end_iterator, |
|
|
const std::string & |
prefix = std::string() , |
|
|
char |
separator = '.' |
|
) |
| |
|
inline |
Construct new iterator which iterates values starting from the given prefix.
- Parameters
-
iterator | Start from. |
end_iterator | End. |
prefix | Prefix for filtering. |
separator | Path nodes separator. |
bool ugcs::vsm::Properties::Iterator::operator!= |
( |
const Iterator & |
it | ) |
const |
|
inline |
Non-equality check method.
std::string ugcs::vsm::Properties::Iterator::operator* |
( |
| ) |
const |
|
inline |
void ugcs::vsm::Properties::Iterator::operator++ |
( |
| ) |
|
Prefix increment operator.
void ugcs::vsm::Properties::Iterator::operator++ |
( |
int |
| ) |
|
|
inline |
Postfix increment operator.
const std::string* ugcs::vsm::Properties::Iterator::operator-> |
( |
| ) |
const |
|
inline |
bool ugcs::vsm::Properties::Iterator::operator== |
( |
const Iterator & |
it | ) |
const |
|
inline |
std::string ugcs::vsm::Properties::Iterator::operator[] |
( |
size_t |
comp_idx | ) |
|
Get component of name with the specified index.
Components are separated by separator character specified in Properties::begin() method.
- Parameters
-
- Returns
- String for component.
- Exceptions
-
Invalid_param_exception | if index is out of range. |
The documentation for this class was generated from the following file: