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

List of all members.

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

static xml_memory_page* xml_memory_page::construct ( void *  memory) [inline, static]

Definition at line 279 of file pugixml.cpp.

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

Referenced by xml_allocator::allocate_page().

                {
                        if (!memory) return 0; //$ redundant, left for performance

                        xml_memory_page* result = static_cast<xml_memory_page*>(memory);

                        result->allocator = 0;
                        result->memory = 0;
                        result->prev = 0;
                        result->next = 0;
                        result->busy_size = 0;
                        result->freed_size = 0;

                        return result;
                }

Member Data Documentation

Definition at line 295 of file pugixml.cpp.

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

Definition at line 303 of file pugixml.cpp.

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


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

Generated on Mon Sep 15 2014 01:23:55 for QuickFIX by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2001