CARLA
Loading...
Searching...
No Matches
xpath_allocator Struct Reference

Public Member Functions

void * allocate (size_t size)
void * reallocate (void *ptr, size_t old_size, size_t new_size)
void release ()
void revert (const xpath_allocator &state)
 xpath_allocator (xpath_memory_block *root, bool *error=0)

Public Attributes

bool * _error
xpath_memory_block * _root
size_t _root_size

Detailed Description

Definition at line 7499 of file pugixml.cpp.

Constructor & Destructor Documentation

◆ xpath_allocator()

xpath_allocator::xpath_allocator ( xpath_memory_block * root,
bool * error = 0 )
inline

Definition at line 7505 of file pugixml.cpp.

References _error, _root, and _root_size.

Referenced by revert().

Member Function Documentation

◆ allocate()

◆ reallocate()

void * xpath_allocator::reallocate ( void * ptr,
size_t old_size,
size_t new_size )
inline

◆ release()

void xpath_allocator::release ( )
inline

◆ revert()

Member Data Documentation

◆ _error

bool* xpath_allocator::_error

Definition at line 7503 of file pugixml.cpp.

Referenced by allocate(), xpath_parser::error_oom(), and xpath_allocator().

◆ _root

xpath_memory_block* xpath_allocator::_root

Definition at line 7501 of file pugixml.cpp.

Referenced by allocate(), reallocate(), release(), revert(), and xpath_allocator().

◆ _root_size

size_t xpath_allocator::_root_size

Definition at line 7502 of file pugixml.cpp.

Referenced by allocate(), reallocate(), revert(), and xpath_allocator().


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