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

Public Member Functions

 xpath_allocator_capture (xpath_allocator *alloc)
 ~xpath_allocator_capture ()

Public Attributes

xpath_allocator_target
xpath_allocator _state

Detailed Description

Definition at line 7897 of file pugixml.cc.

Constructor & Destructor Documentation

◆ xpath_allocator_capture()

xpath_allocator_capture::xpath_allocator_capture ( xpath_allocator * alloc)
inline

Definition at line 7899 of file pugixml.cc.

7899 : _target(alloc), _state(*alloc)
7900 {
7901 }
xpath_allocator _state
Definition pugixml.cc:7909
xpath_allocator * _target
Definition pugixml.cc:7908

◆ ~xpath_allocator_capture()

xpath_allocator_capture::~xpath_allocator_capture ( )
inline

Definition at line 7903 of file pugixml.cc.

7904 {
7905 _target->revert(_state);
7906 }

Member Data Documentation

◆ _state

xpath_allocator xpath_allocator_capture::_state

Definition at line 7909 of file pugixml.cc.

Referenced by xpath_allocator_capture(), and ~xpath_allocator_capture().

◆ _target

xpath_allocator* xpath_allocator_capture::_target

Definition at line 7908 of file pugixml.cc.

Referenced by xpath_allocator_capture(), and ~xpath_allocator_capture().


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