Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

pugi::xpath_node_set Class Reference

#include <ogdf/lib/pugixml/pugixml.h>

Public Types

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

Public Member Functions

 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 ()
 
const_iterator begin () const
 
bool empty () const
 
const_iterator end () const
 
xpath_node first () const
 
xpath_node_setoperator= (const xpath_node_set &ns)
 
const xpath_nodeoperator[] (size_t index) const
 
size_t size () const
 
void sort (bool reverse=false)
 
type_t type () const
 

Private Member Functions

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

Private Attributes

xpath_node_begin
 
xpath_node_end
 
xpath_node _storage
 
type_t _type
 

Detailed Description

Definition at line 1257 of file pugixml.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 1269 of file pugixml.h.

◆ iterator

Definition at line 1272 of file pugixml.h.

Member Enumeration Documentation

◆ type_t

Enumerator
type_unsorted 
type_sorted 
type_sorted_reverse 

Definition at line 1261 of file pugixml.h.

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

◆ _assign()

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()

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

Member Data Documentation

◆ _begin

xpath_node* pugi::xpath_node_set::_begin
private

Definition at line 1320 of file pugixml.h.

◆ _end

xpath_node* pugi::xpath_node_set::_end
private

Definition at line 1321 of file pugixml.h.

◆ _storage

xpath_node pugi::xpath_node_set::_storage
private

Definition at line 1318 of file pugixml.h.

◆ _type

type_t pugi::xpath_node_set::_type
private

Definition at line 1316 of file pugixml.h.


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