HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xpath_allocator Struct Reference

Public Member Functions

 xpath_allocator (xpath_memory_block *root, bool *error=0)
 
voidallocate (size_t size)
 
voidreallocate (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 7640 of file pugixml.cpp.

Constructor & Destructor Documentation

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

Definition at line 7646 of file pugixml.cpp.

Member Function Documentation

void* xpath_allocator::allocate ( size_t  size)
inline

Definition at line 7650 of file pugixml.cpp.

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

Definition at line 7687 of file pugixml.cpp.

void xpath_allocator::release ( )
inline

Definition at line 7753 of file pugixml.cpp.

void xpath_allocator::revert ( const xpath_allocator state)
inline

Definition at line 7734 of file pugixml.cpp.

Member Data Documentation

bool* xpath_allocator::_error

Definition at line 7644 of file pugixml.cpp.

xpath_memory_block* xpath_allocator::_root

Definition at line 7642 of file pugixml.cpp.

size_t xpath_allocator::_root_size

Definition at line 7643 of file pugixml.cpp.


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