|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
Public Member Functions | |
| xml_allocator (xml_memory_page *root) | |
| xml_memory_page * | allocate_page (size_t data_size) |
| void * | allocate_memory_oob (size_t size, xml_memory_page *&out_page) |
| void * | allocate_memory (size_t size, xml_memory_page *&out_page) |
| void * | allocate_object (size_t size, xml_memory_page *&out_page) |
| void | deallocate_memory (void *ptr, size_t size, xml_memory_page *page) |
| char_t * | allocate_string (size_t length) |
| void | deallocate_string (char_t *string) |
| bool | reserve () |
Static Public Member Functions | |
| static void | deallocate_page (xml_memory_page *page) |
Public Attributes | |
| xml_memory_page * | _root |
| size_t | _busy_size |
Definition at line 510 of file pugixml.cc.
|
inline |
Definition at line 512 of file pugixml.cc.
Referenced by xml_document_struct::xml_document_struct().
|
inline |
Definition at line 544 of file pugixml.cc.
Referenced by allocate_object(), and allocate_string().
| PUGI__FN_NO_INLINE void * xml_allocator::allocate_memory_oob | ( | size_t | size, |
| xml_memory_page *& | out_page ) |
Definition at line 710 of file pugixml.cc.
Referenced by allocate_memory().
|
inline |
Definition at line 590 of file pugixml.cc.
Referenced by allocate_attribute(), and allocate_node().
|
inline |
Definition at line 519 of file pugixml.cc.
Referenced by allocate_memory_oob().
|
inline |
Definition at line 640 of file pugixml.cc.
Referenced by strcpy_insitu().
|
inline |
Definition at line 596 of file pugixml.cc.
Referenced by deallocate_string(), destroy_attribute(), and destroy_node().
|
inlinestatic |
Definition at line 537 of file pugixml.cc.
Referenced by deallocate_memory().
|
inline |
Definition at line 674 of file pugixml.cc.
Referenced by destroy_attribute(), destroy_node(), and strcpy_insitu().
|
inline |
Definition at line 693 of file pugixml.cc.
Referenced by append_new_attribute(), append_new_node(), and strcpy_insitu().
| size_t xml_allocator::_busy_size |
Definition at line 703 of file pugixml.cc.
Referenced by allocate_memory(), allocate_memory_oob(), deallocate_memory(), and xml_allocator().
| xml_memory_page* xml_allocator::_root |
Definition at line 702 of file pugixml.cc.
Referenced by allocate_memory(), allocate_memory_oob(), allocate_page(), deallocate_memory(), and xml_allocator().