arsa  2.7
Public Types | Public Member Functions | 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
 

Detailed Description

Definition at line 1323 of file pugixml.hpp.

Member Typedef Documentation

◆ const_iterator

Definition at line 1335 of file pugixml.hpp.

◆ iterator

Definition at line 1338 of file pugixml.hpp.

Member Enumeration Documentation

◆ type_t

Enumerator
type_unsorted 
type_sorted 
type_sorted_reverse 

Definition at line 1327 of file pugixml.hpp.

1328  {
1329  type_unsorted, // Not ordered
1330  type_sorted, // Sorted by document order (ascending)
1331  type_sorted_reverse // Sorted by document order (descending)
1332  };

Constructor & Destructor Documentation

◆ xpath_node_set() [1/3]

pugi::xpath_node_set::xpath_node_set ( )

◆ xpath_node_set() [2/3]

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

◆ ~xpath_node_set()

pugi::xpath_node_set::~xpath_node_set ( )

◆ xpath_node_set() [3/3]

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

Member Function Documentation

◆ begin()

const_iterator pugi::xpath_node_set::begin ( ) const

◆ empty()

bool pugi::xpath_node_set::empty ( ) const

◆ end()

const_iterator pugi::xpath_node_set::end ( ) const

◆ first()

xpath_node pugi::xpath_node_set::first ( ) const

◆ operator=()

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

◆ operator[]()

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

◆ size()

size_t pugi::xpath_node_set::size ( ) const

◆ sort()

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

◆ type()

type_t pugi::xpath_node_set::type ( ) const

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