NDDEM
Public Member Functions | Public Attributes | List of all members
xpath_allocator Struct Reference

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
 

Constructor & Destructor Documentation

◆ xpath_allocator()

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

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

◆ _root

xpath_memory_block* xpath_allocator::_root

◆ _root_size

size_t xpath_allocator::_root_size

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