xpath_allocator_capture Struct Reference
Collaboration diagram for xpath_allocator_capture:

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

Constructor & Destructor Documentation

◆ xpath_allocator_capture()

xpath_allocator_capture::xpath_allocator_capture ( xpath_allocator * alloc)
inline

Definition at line 6349 of file pugixml.cpp.

6349 : _target(alloc), _state(*alloc)
6350 {
6351 }
xpath_allocator _state
Definition pugixml.cpp:6359
xpath_allocator * _target
Definition pugixml.cpp:6358

References _state, and _target.

◆ ~xpath_allocator_capture()

xpath_allocator_capture::~xpath_allocator_capture ( )
inline

Definition at line 6353 of file pugixml.cpp.

6354 {
6355 _target->revert(_state);
6356 }

References _state, and _target.

Member Data Documentation

◆ _state

xpath_allocator xpath_allocator_capture::_state

Definition at line 6359 of file pugixml.cpp.

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

◆ _target

xpath_allocator* xpath_allocator_capture::_target

Definition at line 6358 of file pugixml.cpp.

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


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

Generated on for QuickFIX by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2001