Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
PageTreeContext Class Reference

#include <context.h>

Inheritance diagram for PageTreeContext:
RefCountedContext TemplateStructIntf

Classes

class  Private
 

Public Member Functions

virtual TemplateVariant get (const char *name) const
 
virtual int addRef ()
 
virtual int release ()
 
- Public Member Functions inherited from RefCountedContext
 RefCountedContext (const char *)
 
virtual ~RefCountedContext ()
 
int addRef ()
 
int release ()
 
- Public Member Functions inherited from TemplateStructIntf
virtual ~TemplateStructIntf ()
 

Static Public Member Functions

static PageTreeContextalloc (const PageSDict *pages)
 

Private Member Functions

 PageTreeContext (const PageSDict *pages)
 
 ~PageTreeContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 710 of file context.h.

Constructor & Destructor Documentation

PageTreeContext::PageTreeContext ( const PageSDict pages)
private

Definition at line 7340 of file context.cpp.

7340  : RefCountedContext("PageTreeContext")
7341 {
7342  p = new Private(pages);
7343 }
Private * p
Definition: context.h:723
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
PageTreeContext::~PageTreeContext ( )
private

Definition at line 7345 of file context.cpp.

7346 {
7347  delete p;
7348 }
Private * p
Definition: context.h:723

Member Function Documentation

virtual int PageTreeContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 717 of file context.h.

717 { return RefCountedContext::addRef(); }
static PageTreeContext* PageTreeContext::alloc ( const PageSDict pages)
inlinestatic

Definition at line 713 of file context.h.

713 { return new PageTreeContext(pages); }
PageTreeContext(const PageSDict *pages)
Definition: context.cpp:7340
TemplateVariant PageTreeContext::get ( const char *  name) const
virtual

Gets the value for a field name.

Parameters
[in]nameThe name of the field.

Implements TemplateStructIntf.

Definition at line 7350 of file context.cpp.

7351 {
7352  return p->get(name);
7353 }
static QCString name
Definition: declinfo.cpp:673
Private * p
Definition: context.h:723
TemplateVariant get(const char *n) const
Definition: context.cpp:7277
virtual int PageTreeContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 718 of file context.h.

718 { return RefCountedContext::release(); }

Member Data Documentation

Private* PageTreeContext::p
private

Definition at line 723 of file context.h.


The documentation for this class was generated from the following files: