xpath_allocator Class Reference

Collaboration diagram for xpath_allocator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 xpath_allocator (xpath_memory_block *root, size_t root_size=0)
void * allocate_nothrow (size_t size)
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 ()


Detailed Description

Definition at line 5255 of file pugixml.cpp.


Constructor & Destructor Documentation

xpath_allocator::xpath_allocator ( xpath_memory_block root,
size_t  root_size = 0 
) [inline]

Definition at line 5265 of file pugixml.cpp.


Member Function Documentation

void* xpath_allocator::allocate ( size_t  size  )  [inline]

Definition at line 5297 of file pugixml.cpp.

References allocate_nothrow().

Referenced by allocate_nothrow(), xpath_ast_node::eval_string_concat(), and reallocate().

Here is the call graph for this function:

Here is the caller graph for this function:

void* xpath_allocator::allocate_nothrow ( size_t  size  )  [inline]

Definition at line 5271 of file pugixml.cpp.

References allocate(), xpath_memory_block::data, and xpath_memory_block::next.

Referenced by xpath_parser::alloc_node(), xpath_parser::alloc_string(), and allocate().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 5312 of file pugixml.cpp.

References allocate(), xpath_memory_block::data, xml_memory_management_function_storage< T >::deallocate, sapt::next(), and xpath_memory_block::next.

Referenced by xpath_node_set_raw::append(), xpath_string::append(), and xpath_node_set_raw::push_back().

Here is the call graph for this function:

Here is the caller graph for this function:

void xpath_allocator::release (  )  [inline]

Definition at line 5370 of file pugixml.cpp.

References xml_memory_management_function_storage< T >::deallocate, sapt::next(), and xpath_memory_block::next.

Referenced by xpath_query_impl::destroy(), and xpath_stack_data::~xpath_stack_data().

Here is the call graph for this function:

Here is the caller graph for this function:

void xpath_allocator::revert ( const xpath_allocator state  )  [inline]

Definition at line 5353 of file pugixml.cpp.

References xml_memory_management_function_storage< T >::deallocate, xpath_memory_block::next, and sapt::next().

Referenced by xpath_allocator_capture::~xpath_allocator_capture().

Here is the call graph for this function:

Here is the caller graph for this function:


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

Generated on Thu Jul 6 00:32:04 2017 for Moses by  doxygen 1.5.9