CARLA
Loading...
Searching...
No Matches
pugi::xpath_node_set Class Reference

#include <pugixml.hpp>

Public Types

typedef const xpath_node * const_iterator
typedef const xpath_node * iterator
enum  type_t { type_unsorted , type_sorted , type_sorted_reverse }

Public Member Functions

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

Private Member Functions

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

Private Attributes

xpath_node * _begin
xpath_node * _end
xpath_node _storage
type_t _type

Detailed Description

Definition at line 1317 of file pugixml.hpp.

Member Typedef Documentation

◆ const_iterator

Definition at line 1329 of file pugixml.hpp.

◆ iterator

Definition at line 1332 of file pugixml.hpp.

Member Enumeration Documentation

◆ type_t

Enumerator
type_unsorted 
type_sorted 
type_sorted_reverse 

Definition at line 1321 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xpath_node_set() [1/3]

PUGI__FN pugi::xpath_node_set::xpath_node_set ( )

◆ xpath_node_set() [2/3]

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

Definition at line 12078 of file pugixml.cpp.

References _assign(), _begin, _end, _storage, _type, PUGI__FN, and type_unsorted.

◆ ~xpath_node_set()

PUGI__FN pugi::xpath_node_set::~xpath_node_set ( )

Definition at line 12083 of file pugixml.cpp.

References _begin, _storage, and PUGI__FN.

◆ xpath_node_set() [3/3]

PUGI__FN pugi::xpath_node_set::xpath_node_set ( const xpath_node_set & ns)

Definition at line 12089 of file pugixml.cpp.

References _assign(), _begin, _end, _storage, _type, PUGI__FN, type_unsorted, and xpath_node_set().

Member Function Documentation

◆ _assign()

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

Definition at line 12016 of file pugixml.cpp.

References _begin, _end, _storage, _type, and PUGI__FN.

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

◆ _move()

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

◆ begin()

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

Definition at line 12143 of file pugixml.cpp.

References _begin, and PUGI__FN.

◆ empty()

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

Definition at line 12132 of file pugixml.cpp.

References _begin, _end, and PUGI__FN.

◆ end()

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

Definition at line 12148 of file pugixml.cpp.

References _end, and PUGI__FN.

◆ first()

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

Definition at line 12158 of file pugixml.cpp.

References _begin, _end, _type, and PUGI__FN.

◆ operator=()

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

Definition at line 12094 of file pugixml.cpp.

References _assign(), _begin, _end, _type, PUGI__FN, and xpath_node_set().

◆ operator[]()

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

Definition at line 12137 of file pugixml.cpp.

References _begin, PUGI__FN, and size().

◆ size()

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

Definition at line 12127 of file pugixml.cpp.

References _begin, _end, and PUGI__FN.

Referenced by operator[]().

◆ sort()

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

Definition at line 12153 of file pugixml.cpp.

References _begin, _end, _type, PUGI__FN, and reverse().

◆ type()

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

Definition at line 12122 of file pugixml.cpp.

References _type, and PUGI__FN.

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
private

◆ _type

type_t pugi::xpath_node_set::_type
private

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