NCBI C++ ToolKit
|
Search Toolkit Book for xml::attributes::const_iterator
Const Iterator class for accessing attribute pairs. More...
#include <misc/xmlwrapp/attributes.hpp>
Public Types | |
typedef const attr | value_type |
typedef std::ptrdiff_t | difference_type |
typedef value_type * | pointer |
typedef value_type & | reference |
typedef std::forward_iterator_tag | iterator_category |
Public Member Functions | |
const_iterator (void) | |
const_iterator (const const_iterator &other) | |
const_iterator (const iterator &other) | |
const_iterator & | operator= (const const_iterator &other) |
~const_iterator (void) | |
reference | operator* (void) const |
pointer | operator-> (void) const |
const_iterator & | operator++ (void) |
prefix increment More... | |
const_iterator | operator++ (int) |
postfix increment (avoid if possible better for performance) More... | |
Private Member Functions | |
const_iterator (void *node, void *prop, bool def_prop, bool from_find) | |
void | swap (const_iterator &other) |
Private Attributes | |
impl::ait_impl * | pimpl_ |
Friends | |
class | attributes |
bool | operator== (const const_iterator &lhs, const const_iterator &rhs) |
bool | operator!= (const const_iterator &lhs, const const_iterator &rhs) |
Const Iterator class for accessing attribute pairs.
Definition at line 320 of file attributes.hpp.
typedef std::ptrdiff_t xml::attributes::const_iterator::difference_type |
Definition at line 323 of file attributes.hpp.
typedef std::forward_iterator_tag xml::attributes::const_iterator::iterator_category |
Definition at line 326 of file attributes.hpp.
Definition at line 324 of file attributes.hpp.
Definition at line 325 of file attributes.hpp.
Definition at line 322 of file attributes.hpp.
xml::attributes::const_iterator::const_iterator | ( | void | ) |
Definition at line 198 of file ait_impl.cpp.
xml::attributes::const_iterator::const_iterator | ( | const const_iterator & | other | ) |
Definition at line 213 of file ait_impl.cpp.
References pimpl_.
Definition at line 217 of file ait_impl.cpp.
References xml::attributes::iterator::pimpl_.
xml::attributes::const_iterator::~const_iterator | ( | void | ) |
Definition at line 232 of file ait_impl.cpp.
|
private |
Definition at line 202 of file ait_impl.cpp.
xml::attributes::const_iterator::reference xml::attributes::const_iterator::operator* | ( | void | ) | const |
Definition at line 237 of file ait_impl.cpp.
References xml::impl::get_ptr_to_attr_instance(), xml::kDerefError, and xml::attributes::attr::normalize().
xml::attributes::const_iterator xml::attributes::const_iterator::operator++ | ( | int | ) |
postfix increment (avoid if possible better for performance)
Definition at line 261 of file ait_impl.cpp.
References tmp.
xml::attributes::const_iterator & xml::attributes::const_iterator::operator++ | ( | void | ) |
prefix increment
Definition at line 255 of file ait_impl.cpp.
xml::attributes::const_iterator::pointer xml::attributes::const_iterator::operator-> | ( | void | ) | const |
Definition at line 246 of file ait_impl.cpp.
References xml::impl::get_ptr_to_attr_instance(), xml::kRefError, and xml::attributes::attr::normalize().
xml::attributes::const_iterator & xml::attributes::const_iterator::operator= | ( | const const_iterator & | other | ) |
Definition at line 222 of file ait_impl.cpp.
|
private |
Definition at line 228 of file ait_impl.cpp.
|
friend |
Definition at line 349 of file attributes.hpp.
|
friend |
Definition at line 645 of file ait_impl.cpp.
|
friend |
Definition at line 640 of file ait_impl.cpp.
|
private |
Definition at line 346 of file attributes.hpp.
Referenced by const_iterator(), xml::operator==(), and swap().