My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
NamespaceContext Class Reference

#include <context.h>

Inheritance diagram for NamespaceContext:
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 NamespaceContextalloc (NamespaceDef *nd)
 

Private Member Functions

 NamespaceContext (NamespaceDef *)
 
 ~NamespaceContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 272 of file context.h.

Constructor & Destructor Documentation

NamespaceContext::NamespaceContext ( NamespaceDef nd)
private

Definition at line 2916 of file context.cpp.

References p, and Private.

Referenced by alloc().

: RefCountedContext("NamespaceContext")
{
p = new Private(nd);
}
NamespaceContext::~NamespaceContext ( )
private

Definition at line 2921 of file context.cpp.

References p.

{
delete p;
}

Member Function Documentation

virtual int NamespaceContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 279 of file context.h.

References RefCountedContext::addRef().

static NamespaceContext* NamespaceContext::alloc ( NamespaceDef nd)
inlinestatic
TemplateVariant NamespaceContext::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 2926 of file context.cpp.

References NamespaceContext::Private::get(), and p.

{
return p->get(n);
}
virtual int NamespaceContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 280 of file context.h.

References RefCountedContext::release().

Member Data Documentation

Private* NamespaceContext::p
private

Definition at line 285 of file context.h.

Referenced by get(), NamespaceContext(), and ~NamespaceContext().


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