μHAL (v2.7.9)
Part of the IPbus software repository
Public Member Functions | Public Attributes | List of all members
xpath_allocator Struct Reference
Collaboration diagram for xpath_allocator:
[legend]

Public Member Functions

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

Public Attributes

xpath_memory_block_root
 
size_t _root_size
 
bool * _error
 

Detailed Description

Definition at line 7547 of file pugixml.cpp.

Constructor & Destructor Documentation

◆ xpath_allocator()

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

Definition at line 7553 of file pugixml.cpp.

Member Function Documentation

◆ allocate()

void* xpath_allocator::allocate ( size_t  size)
inline

◆ reallocate()

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

◆ release()

void xpath_allocator::release ( )
inline

◆ revert()

void xpath_allocator::revert ( const xpath_allocator state)
inline

Member Data Documentation

◆ _error

bool* xpath_allocator::_error

Definition at line 7551 of file pugixml.cpp.

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

◆ _root

xpath_memory_block* xpath_allocator::_root

Definition at line 7549 of file pugixml.cpp.

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

◆ _root_size

size_t xpath_allocator::_root_size

Definition at line 7550 of file pugixml.cpp.

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


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