NDDEM
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
pugi::xpath_node_set Class Reference

#include <pugixml.hpp>

Public Types

enum  type_t { type_unsorted , type_sorted , type_sorted_reverse }
 
typedef const xpath_nodeconst_iterator
 
typedef const xpath_nodeiterator
 

Public Member Functions

 xpath_node_set ()
 
 xpath_node_set (const_iterator begin, const_iterator end, type_t type=type_unsorted)
 
 ~xpath_node_set ()
 
 xpath_node_set (const xpath_node_set &ns)
 
xpath_node_setoperator= (const xpath_node_set &ns)
 
type_t type () const
 
size_t size () const
 
const xpath_nodeoperator[] (size_t index) const
 
const_iterator begin () const
 
const_iterator end () const
 
void sort (bool reverse=false)
 
xpath_node first () const
 
bool empty () const
 

Private Member Functions

void _assign (const_iterator begin, const_iterator end, type_t type)
 
void _move (xpath_node_set &rhs) PUGIXML_NOEXCEPT
 

Private Attributes

type_t _type
 
xpath_node _storage [1]
 
xpath_node_begin
 
xpath_node_end
 

Member Typedef Documentation

◆ const_iterator

◆ iterator

Member Enumeration Documentation

◆ type_t

Enumerator
type_unsorted 
type_sorted 
type_sorted_reverse 

Constructor & Destructor Documentation

◆ xpath_node_set() [1/3]

PUGI_IMPL_FN pugi::xpath_node_set::xpath_node_set ( )

◆ xpath_node_set() [2/3]

PUGI_IMPL_FN pugi::xpath_node_set::xpath_node_set ( const_iterator  begin,
const_iterator  end,
type_t  type = type_unsorted 
)

◆ ~xpath_node_set()

PUGI_IMPL_FN pugi::xpath_node_set::~xpath_node_set ( )

◆ xpath_node_set() [3/3]

PUGI_IMPL_FN pugi::xpath_node_set::xpath_node_set ( const xpath_node_set ns)

Member Function Documentation

◆ _assign()

PUGI_IMPL_FN void pugi::xpath_node_set::_assign ( const_iterator  begin,
const_iterator  end,
type_t  type 
)
private

◆ _move()

void pugi::xpath_node_set::_move ( xpath_node_set rhs)
private

◆ begin()

PUGI_IMPL_FN xpath_node_set::const_iterator pugi::xpath_node_set::begin ( ) const

◆ empty()

PUGI_IMPL_FN bool pugi::xpath_node_set::empty ( ) const

◆ end()

PUGI_IMPL_FN xpath_node_set::const_iterator pugi::xpath_node_set::end ( ) const

◆ first()

PUGI_IMPL_FN xpath_node pugi::xpath_node_set::first ( ) const

◆ operator=()

PUGI_IMPL_FN xpath_node_set & pugi::xpath_node_set::operator= ( const xpath_node_set ns)

◆ operator[]()

PUGI_IMPL_FN const xpath_node & pugi::xpath_node_set::operator[] ( size_t  index) const

◆ size()

PUGI_IMPL_FN size_t pugi::xpath_node_set::size ( ) const

◆ sort()

PUGI_IMPL_FN void pugi::xpath_node_set::sort ( bool  reverse = false)

◆ type()

PUGI_IMPL_FN xpath_node_set::type_t pugi::xpath_node_set::type ( ) const

Member Data Documentation

◆ _begin

xpath_node* pugi::xpath_node_set::_begin
private

◆ _end

xpath_node* pugi::xpath_node_set::_end
private

◆ _storage

xpath_node pugi::xpath_node_set::_storage[1]
private

◆ _type

type_t pugi::xpath_node_set::_type
private

The documentation for this class was generated from the following files: