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
IncludeInfoContext Class Reference

#include <context.h>

Inheritance diagram for IncludeInfoContext:
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 IncludeInfoContextalloc (const IncludeInfo *info, SrcLangExt lang)
 

Private Member Functions

 IncludeInfoContext (const IncludeInfo *, SrcLangExt lang)
 
 ~IncludeInfoContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 210 of file context.h.

Constructor & Destructor Documentation

IncludeInfoContext::IncludeInfoContext ( const IncludeInfo info,
SrcLangExt  lang 
)
private

Definition at line 1727 of file context.cpp.

References p, and Private.

Referenced by alloc().

: RefCountedContext("IncludeContext")
{
p = new Private(info,lang);
}
IncludeInfoContext::~IncludeInfoContext ( )
private

Definition at line 1732 of file context.cpp.

References p.

{
delete p;
}

Member Function Documentation

virtual int IncludeInfoContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 218 of file context.h.

References RefCountedContext::addRef().

static IncludeInfoContext* IncludeInfoContext::alloc ( const IncludeInfo info,
SrcLangExt  lang 
)
inlinestatic

Definition at line 213 of file context.h.

References IncludeInfoContext().

Referenced by ClassContext::Private::includeInfo(), and IncludeInfoListContext::Private::Private().

{ return new IncludeInfoContext(info,lang); }
TemplateVariant IncludeInfoContext::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 1737 of file context.cpp.

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

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

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 219 of file context.h.

References RefCountedContext::release().

Member Data Documentation

Private* IncludeInfoContext::p
private

Definition at line 224 of file context.h.

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


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