Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
xml_memory_page Struct Reference

Static Public Member Functions

static xml_memory_pageconstruct (void *memory)

Public Attributes

xml_allocatorallocator
xml_memory_pageprev
xml_memory_pagenext
size_t busy_size
size_t freed_size

Detailed Description

Definition at line 460 of file pugixml.cc.

Member Function Documentation

◆ construct()

xml_memory_page * xml_memory_page::construct ( void * memory)
inlinestatic

Definition at line 462 of file pugixml.cc.

463 {
464 xml_memory_page* result = static_cast<xml_memory_page*>(memory);
465
466 result->allocator = 0;
467 result->prev = 0;
468 result->next = 0;
469 result->busy_size = 0;
470 result->freed_size = 0;
471
472 #ifdef PUGIXML_COMPACT
473 result->compact_string_base = 0;
474 result->compact_shared_parent = 0;
475 result->compact_page_marker = 0;
476 #endif
477
478 return result;
479 }
xml_memory_page * prev
Definition pugixml.cc:483
size_t busy_size
Definition pugixml.cc:486
xml_memory_page * next
Definition pugixml.cc:484
size_t freed_size
Definition pugixml.cc:487
xml_allocator * allocator
Definition pugixml.cc:481

Referenced by xml_allocator::allocate_page().

Member Data Documentation

◆ allocator

xml_allocator* xml_memory_page::allocator

Definition at line 481 of file pugixml.cc.

Referenced by xml_allocator::allocate_page(), and construct().

◆ busy_size

◆ freed_size

size_t xml_memory_page::freed_size

Definition at line 487 of file pugixml.cc.

Referenced by construct(), and xml_allocator::deallocate_memory().

◆ next

xml_memory_page* xml_memory_page::next

◆ prev

xml_memory_page* xml_memory_page::prev

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