|
bool | init (const char *variable_base, const char *variable_name, const char *attribute_name) |
| Create global system variable attributes iterator. More...
|
|
bool | next () |
| Advance iterator to next element. More...
|
|
std::pair< std::string, std::string > * | get_current () |
| Return key/value attribute element currently pointed by the iterator. More...
|
|
◆ get_current()
std::pair< std::string, std::string > * global_variable_attributes_iterator_internal::get_current |
( |
| ) |
|
|
inline |
Return key/value attribute element currently pointed by the iterator.
- Return values
-
non | NULL : found |
NULL | : not found |
◆ init()
bool global_variable_attributes_iterator_internal::init |
( |
const char * |
variable_base, |
|
|
const char * |
variable_name, |
|
|
const char * |
attribute_name |
|
) |
| |
|
inline |
Create global system variable attributes iterator.
Sets the iterator to the first matching element (if any) or at eof.
- Parameters
-
variable_base | Variable prefix, NULL if none. |
variable_name | System variable name to be matched. |
attribute_name | Attribute name to be matched or NULL to iterate all attributes of a variable |
- Return values
-
false | : found |
true | : not found or error initializing |
◆ next()
bool global_variable_attributes_iterator_internal::next |
( |
| ) |
|
|
inline |
Advance iterator to next element.
Sets the iterator to the next matching element (if any) or at eof.
- Return values
-
false | : found |
true | : not found |
◆ m_attribute_name
const char* global_variable_attributes_iterator_internal::m_attribute_name {nullptr} |
|
private |
◆ m_attributes
std::vector<std::pair<std::string, std::string> > global_variable_attributes_iterator_internal::m_attributes |
|
private |
◆ m_idx
uint global_variable_attributes_iterator_internal::m_idx {0} |
|
private |
The documentation for this class was generated from the following file: