Public Member Functions | Public Attributes | List of all members
xpath_stack_data Struct Reference
Collaboration diagram for xpath_stack_data:
Collaboration graph
[legend]

Public Member Functions

 xpath_stack_data ()
 
 ~xpath_stack_data ()
 

Public Attributes

xpath_memory_block blocks [2]
 
xpath_allocator result
 
xpath_allocator temp
 
xpath_stack stack
 

Detailed Description

Definition at line 6368 of file pugixml.cpp.

Constructor & Destructor Documentation

◆ xpath_stack_data()

xpath_stack_data::xpath_stack_data ( )
inline

Definition at line 6379 of file pugixml.cpp.

6379 : result(blocks + 0), temp(blocks + 1)
6380 {
6381 blocks[0].next = blocks[1].next = 0;
6382 blocks[0].capacity = blocks[1].capacity = sizeof(blocks[0].data);
6383
6384 stack.result = &result;
6385 stack.temp = &temp;
6386
6387 #ifdef PUGIXML_NO_EXCEPTIONS
6388 result.error_handler = temp.error_handler = &error_handler;
6389 #endif
6390 }
xpath_memory_block * next
Definition pugixml.cpp:6188
xpath_allocator temp
Definition pugixml.cpp:6372
xpath_memory_block blocks[2]
Definition pugixml.cpp:6370
xpath_allocator result
Definition pugixml.cpp:6371
xpath_stack stack
Definition pugixml.cpp:6373
xpath_allocator * temp
Definition pugixml.cpp:6365
xpath_allocator * result
Definition pugixml.cpp:6364

References blocks, xpath_memory_block::capacity, xpath_memory_block::data, xpath_memory_block::next, xpath_stack::result, result, stack, xpath_stack::temp, and temp.

◆ ~xpath_stack_data()

xpath_stack_data::~xpath_stack_data ( )
inline

Definition at line 6392 of file pugixml.cpp.

6393 {
6394 result.release();
6395 temp.release();
6396 }

References xpath_allocator::release(), result, and temp.

Member Data Documentation

◆ blocks

xpath_memory_block xpath_stack_data::blocks[2]

Definition at line 6370 of file pugixml.cpp.

Referenced by xpath_stack_data().

◆ result

xpath_allocator xpath_stack_data::result

Definition at line 6371 of file pugixml.cpp.

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

◆ stack

xpath_stack xpath_stack_data::stack

Definition at line 6373 of file pugixml.cpp.

Referenced by evaluate_string_impl(), and xpath_stack_data().

◆ temp

xpath_allocator xpath_stack_data::temp

Definition at line 6372 of file pugixml.cpp.

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


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

Generated on Thu Feb 29 2024 22:38:19 for QuickFIX by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2001