NCBI C++ ToolKit
Public Member Functions | Private Attributes | Friends | List of all members
xml::impl::ait_impl Class Reference

Search Toolkit Book for xml::impl::ait_impl

the class that does all the work behind xml::attributes::iterator and xml::attributes::const_iterator. More...

#include "ait_impl.hpp"
(Private to src/misc/xmlwrapp.)

+ Inheritance diagram for xml::impl::ait_impl:
+ Collaboration diagram for xml::impl::ait_impl:

Public Member Functions

 ait_impl (xmlNodePtr node, xmlAttrPtr prop, bool from_find)
 
 ait_impl (xmlNodePtr node, phantom_attr *prop, bool from_find)
 
 ait_impl (const ait_impl &other)
 
ait_imploperator= (const ait_impl &other)
 
attributes::attrget (void)
 
ait_imploperator++ (void)
 
ait_impl operator++ (int)
 

Private Attributes

attributes::attr attr_
 
bool from_find_
 

Friends

bool operator== (const ait_impl &lhs, const ait_impl &rhs)
 
bool operator!= (const ait_impl &lhs, const ait_impl &rhs)
 

Detailed Description

the class that does all the work behind xml::attributes::iterator and xml::attributes::const_iterator.

Definition at line 66 of file ait_impl.hpp.

Constructor & Destructor Documentation

◆ ait_impl() [1/3]

ait_impl::ait_impl ( xmlNodePtr  node,
xmlAttrPtr  prop,
bool  from_find 
)

Definition at line 77 of file ait_impl.cpp.

References attr_, and xml::attributes::attr::set_data().

◆ ait_impl() [2/3]

ait_impl::ait_impl ( xmlNodePtr  node,
phantom_attr prop,
bool  from_find 
)

Definition at line 82 of file ait_impl.cpp.

References attr_, and xml::attributes::attr::set_data().

◆ ait_impl() [3/3]

ait_impl::ait_impl ( const ait_impl other)

Definition at line 87 of file ait_impl.cpp.

Member Function Documentation

◆ get()

xml::attributes::attr * ait_impl::get ( void  )

Definition at line 100 of file ait_impl.cpp.

References attr_.

Referenced by xml::attributes::erase().

◆ operator++() [1/2]

ait_impl ait_impl::operator++ ( int  )

Definition at line 118 of file ait_impl.cpp.

References tmp.

◆ operator++() [2/2]

ait_impl & ait_impl::operator++ ( void  )

Definition at line 104 of file ait_impl.cpp.

References attr_, from_find_, xml::kAdvError, next(), and xml::attributes::attr::prop_.

◆ operator=()

ait_impl & ait_impl::operator= ( const ait_impl other)

Definition at line 92 of file ait_impl.cpp.

References attr_, from_find_, xml::attributes::attr::swap(), swap(), and tmp.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const ait_impl lhs,
const ait_impl rhs 
)
friend

Definition at line 656 of file ait_impl.cpp.

◆ operator==

bool operator== ( const ait_impl lhs,
const ait_impl rhs 
)
friend

Definition at line 651 of file ait_impl.cpp.

Member Data Documentation

◆ attr_

attributes::attr xml::impl::ait_impl::attr_
private

Definition at line 83 of file ait_impl.hpp.

Referenced by ait_impl(), get(), operator++(), operator=(), and xml::impl::operator==().

◆ from_find_

bool xml::impl::ait_impl::from_find_
private

Definition at line 84 of file ait_impl.hpp.

Referenced by operator++(), and operator=().


The documentation for this class was generated from the following files:
Modified on Wed May 22 11:27:37 2024 by modify_doxy.py rev. 669887