Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
pugi::xpath_parse_result Struct Reference

#include <pugixml.hpp>

Public Member Functions

 xpath_parse_result ()
 operator bool () const
const char * description () const

Public Attributes

const char * error
ptrdiff_t offset

Detailed Description

Definition at line 1119 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xpath_parse_result()

PUGI__FN pugi::xpath_parse_result::xpath_parse_result ( )

Definition at line 12519 of file pugixml.cc.

12519 : error("Internal error"), offset(0)
12520 {
12521 }

Member Function Documentation

◆ description()

PUGI__FN const char * pugi::xpath_parse_result::description ( ) const

Definition at line 12528 of file pugixml.cc.

12529 {
12530 return error ? error : "No error";
12531 }

◆ operator bool()

PUGI__FN pugi::xpath_parse_result::operator bool ( ) const

Definition at line 12523 of file pugixml.cc.

12524 {
12525 return error == 0;
12526 }

Member Data Documentation

◆ error

const char* pugi::xpath_parse_result::error

Definition at line 1122 of file pugixml.hpp.

Referenced by description(), operator bool(), and xpath_parse_result().

◆ offset

ptrdiff_t pugi::xpath_parse_result::offset

Definition at line 1125 of file pugixml.hpp.

Referenced by xpath_parse_result().


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