Public Member Functions | Public Attributes | List of all members
GenericSchemaDocument< ValueT, Allocator >::SchemaEntry Struct Reference

Public Member Functions

 SchemaEntry (const PointerType &p, SchemaType *s, bool o, Allocator *allocator)
 
 ~SchemaEntry ()
 

Public Attributes

PointerType pointer
 
SchemaTypeschema
 
bool owned
 

Detailed Description

template<typename ValueT, typename Allocator = CrtAllocator>
struct GenericSchemaDocument< ValueT, Allocator >::SchemaEntry

Definition at line 1619 of file schema.h.

Constructor & Destructor Documentation

template<typename ValueT , typename Allocator = CrtAllocator>
GenericSchemaDocument< ValueT, Allocator >::SchemaEntry::SchemaEntry ( const PointerType p,
SchemaType s,
bool  o,
Allocator *  allocator 
)
inline

Definition at line 1620 of file schema.h.

1620 : pointer(p, allocator), schema(s), owned(o) {}
p
Definition: test.py:223
static QCString * s
Definition: config.cpp:1042
template<typename ValueT , typename Allocator = CrtAllocator>
GenericSchemaDocument< ValueT, Allocator >::SchemaEntry::~SchemaEntry ( )
inline

Definition at line 1621 of file schema.h.

1621  {
1622  if (owned) {
1623  schema->~SchemaType();
1624  Allocator::Free(schema);
1625  }
1626  }

Member Data Documentation

template<typename ValueT , typename Allocator = CrtAllocator>
bool GenericSchemaDocument< ValueT, Allocator >::SchemaEntry::owned

Definition at line 1629 of file schema.h.

template<typename ValueT , typename Allocator = CrtAllocator>
PointerType GenericSchemaDocument< ValueT, Allocator >::SchemaEntry::pointer

Definition at line 1627 of file schema.h.

template<typename ValueT , typename Allocator = CrtAllocator>
SchemaType* GenericSchemaDocument< ValueT, Allocator >::SchemaEntry::schema

Definition at line 1628 of file schema.h.


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