Public Member Functions | Static Public Member Functions | Public Attributes
xml_allocator Struct Reference
Inheritance diagram for xml_allocator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void * allocate_memory (size_t size, xml_memory_page *&out_page)
void * allocate_memory_oob (size_t size, xml_memory_page *&out_page)
void * allocate_object (size_t size, xml_memory_page *&out_page)
xml_memory_pageallocate_page (size_t data_size)
char_t * allocate_string (size_t length)
void deallocate_memory (void *ptr, size_t size, xml_memory_page *page)
void deallocate_string (char_t *string)
bool reserve ()
 xml_allocator (xml_memory_page *root)

Static Public Member Functions

static void deallocate_page (xml_memory_page *page)

Public Attributes

size_t _busy_size
xml_memory_page_root

Detailed Description

Definition at line 479 of file pugixml.cpp.


Constructor & Destructor Documentation

Definition at line 481 of file pugixml.cpp.


Member Function Documentation

void* xml_allocator::allocate_memory ( size_t  size,
xml_memory_page *&  out_page 
) [inline]

Definition at line 521 of file pugixml.cpp.

PUGI__FN_NO_INLINE void * xml_allocator::allocate_memory_oob ( size_t  size,
xml_memory_page *&  out_page 
)

Definition at line 687 of file pugixml.cpp.

void* xml_allocator::allocate_object ( size_t  size,
xml_memory_page *&  out_page 
) [inline]

Definition at line 567 of file pugixml.cpp.

xml_memory_page* xml_allocator::allocate_page ( size_t  data_size) [inline]

Definition at line 488 of file pugixml.cpp.

char_t* xml_allocator::allocate_string ( size_t  length) [inline]

Definition at line 617 of file pugixml.cpp.

void xml_allocator::deallocate_memory ( void *  ptr,
size_t  size,
xml_memory_page page 
) [inline]

Definition at line 573 of file pugixml.cpp.

static void xml_allocator::deallocate_page ( xml_memory_page page) [inline, static]

Definition at line 512 of file pugixml.cpp.

void xml_allocator::deallocate_string ( char_t *  string) [inline]

Definition at line 651 of file pugixml.cpp.

bool xml_allocator::reserve ( ) [inline]

Definition at line 670 of file pugixml.cpp.


Member Data Documentation

Definition at line 680 of file pugixml.cpp.

Definition at line 679 of file pugixml.cpp.


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


pugixml
Author(s): Jose Luis Sanchez-Lopez
autogenerated on Tue Mar 8 2016 01:00:00