Static Public Member Functions | Public Attributes | List of all members
xml_memory_page Struct Reference
Collaboration diagram for xml_memory_page:
Collaboration graph
[legend]

Static Public Member Functions

static xml_memory_pageconstruct (void *memory)
 

Public Attributes

xml_allocatorallocator
 
void * memory
 
xml_memory_pageprev
 
xml_memory_pagenext
 
size_t busy_size
 
size_t freed_size
 
char data [1]
 

Detailed Description

Definition at line 277 of file pugixml.cpp.

Member Function Documentation

◆ construct()

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

Definition at line 279 of file pugixml.cpp.

280  {
281  if (!memory) return 0; //$ redundant, left for performance
282 
283  xml_memory_page* result = static_cast<xml_memory_page*>(memory);
284 
285  result->allocator = 0;
286  result->memory = 0;
287  result->prev = 0;
288  result->next = 0;
289  result->busy_size = 0;
290  result->freed_size = 0;
291 
292  return result;
293  }

References allocator, busy_size, freed_size, memory, next, and prev.

Referenced by xml_allocator::allocate_page().

Member Data Documentation

◆ allocator

xml_allocator* xml_memory_page::allocator

Definition at line 295 of file pugixml.cpp.

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

◆ busy_size

size_t xml_memory_page::busy_size

◆ data

char xml_memory_page::data[1]

◆ freed_size

size_t xml_memory_page::freed_size

Definition at line 303 of file pugixml.cpp.

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

◆ memory

void* xml_memory_page::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:
xml_memory_page::busy_size
size_t busy_size
Definition: pugixml.cpp:302
xml_memory_page::next
xml_memory_page * next
Definition: pugixml.cpp:300
xml_memory_page::memory
void * memory
Definition: pugixml.cpp:297
xml_memory_page
Definition: pugixml.cpp:277
xml_memory_page::allocator
xml_allocator * allocator
Definition: pugixml.cpp:295
xml_memory_page::prev
xml_memory_page * prev
Definition: pugixml.cpp:299
xml_memory_page::freed_size
size_t freed_size
Definition: pugixml.cpp:303

Generated on Wed Apr 29 2020 19:41:30 for QuickFIX by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2001