ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
pugi::xpath_node_set Class Reference

#include <pugixml.hpp>

Collaboration diagram for pugi::xpath_node_set:
Collaboration graph
[legend]

Public Types

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

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)
 

Private Attributes

type_t _type
 
xpath_node _storage
 
xpath_node_begin
 
xpath_node_end
 

Detailed Description

Definition at line 1206 of file pugixml.hpp.

Member Typedef Documentation

◆ const_iterator

Definition at line 1218 of file pugixml.hpp.

Member Enumeration Documentation

◆ type_t

Enumerator
type_unsorted 
type_sorted 
type_sorted_reverse 

Definition at line 1210 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xpath_node_set() [1/3]

PUGI__FN pugi::xpath_node_set::xpath_node_set ( )

Definition at line 10714 of file pugixml.cpp.

◆ 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 10716 of file pugixml.cpp.

References _assign().

Here is the call graph for this function:

◆ ~xpath_node_set()

PUGI__FN pugi::xpath_node_set::~xpath_node_set ( )

Definition at line 10722 of file pugixml.cpp.

References _begin, and _storage.

◆ xpath_node_set() [3/3]

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

Definition at line 10728 of file pugixml.cpp.

References _assign(), _begin, and _end.

Here is the call graph for this function:

Member Function Documentation

◆ _assign()

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

Definition at line 10669 of file pugixml.cpp.

References _begin, _end, _storage, and memcpy().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ begin()

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

Definition at line 10765 of file pugixml.cpp.

References _begin.

◆ empty()

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

Definition at line 10754 of file pugixml.cpp.

References _begin, and _end.

◆ end()

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

Definition at line 10770 of file pugixml.cpp.

References _end.

◆ first()

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

Definition at line 10780 of file pugixml.cpp.

References _begin, _end, _type, and xpath_first().

Here is the call graph for this function:

◆ operator=()

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

Definition at line 10733 of file pugixml.cpp.

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

Here is the call graph for this function:

◆ operator[]()

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

Definition at line 10759 of file pugixml.cpp.

References _begin, and size().

Here is the call graph for this function:

◆ size()

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

Definition at line 10749 of file pugixml.cpp.

References _begin, and _end.

Referenced by operator[]().

Here is the caller graph for this function:

◆ sort()

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

Definition at line 10775 of file pugixml.cpp.

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

Here is the call graph for this function:

◆ type()

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

Definition at line 10744 of file pugixml.cpp.

References _type.

Member Data Documentation

◆ _begin

xpath_node* pugi::xpath_node_set::_begin
private

◆ _end

xpath_node* pugi::xpath_node_set::_end
private

Definition at line 1261 of file pugixml.hpp.

Referenced by _assign(), empty(), end(), first(), operator=(), size(), sort(), and xpath_node_set().

◆ _storage

xpath_node pugi::xpath_node_set::_storage
private

Definition at line 1258 of file pugixml.hpp.

Referenced by _assign(), and ~xpath_node_set().

◆ _type

type_t pugi::xpath_node_set::_type
private

Definition at line 1256 of file pugixml.hpp.

Referenced by first(), operator=(), sort(), and type().


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