#include <Properties.hpp>
Collaboration diagram for Properties::Iterator:

Public Member Functions | |
| Iterator (const Properties *prop) | |
| const char * | first () |
| const char * | next () |
Private Attributes | |
| const Properties * | m_prop |
| Uint32 | m_iterator |
Definition at line 132 of file Properties.hpp.
| Properties::Iterator::Iterator | ( | const Properties * | prop | ) |
Definition at line 383 of file Properties.cpp.
00383 : 00384 m_prop(prop), 00385 m_iterator(0) { 00386 }
| const char * Properties::Iterator::first | ( | ) |
Definition at line 389 of file Properties.cpp.
References m_iterator, and next().
Referenced by applyDefaultValues(), backward(), checkMandatory(), fixDepricated(), ClusterConfiguration::init(), ConfigInfo::print(), Config::printAllNameValuePairs(), Config::printConfigFile(), and saveInConfigValues().
00389 { 00390 m_iterator = 0; 00391 return next(); 00392 }
Here is the call graph for this function:

Here is the caller graph for this function:

| const char * Properties::Iterator::next | ( | ) |
Definition at line 395 of file Properties.cpp.
References PropertiesImpl::content, Properties::impl, PropertiesImpl::items, m_iterator, m_prop, PropertyImpl::name, and NULL.
Referenced by applyDefaultValues(), backward(), checkMandatory(), first(), fixDepricated(), ClusterConfiguration::init(), ndb_mgm_call(), ConfigInfo::print(), Config::printAllNameValuePairs(), Config::printConfigFile(), and saveInConfigValues().
00395 { 00396 if (m_iterator < m_prop->impl->items) 00397 return m_prop->impl->content[m_iterator++]->name; 00398 else 00399 return NULL; 00400 }
Here is the caller graph for this function:

Uint32 Properties::Iterator::m_iterator [private] |
const Properties* Properties::Iterator::m_prop [private] |
1.4.7

