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 1712 of file context.cpp.

1712  : RefCountedContext("IncludeContext")
1713 {
1714  p = new Private(info,lang);
1715 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:224
IncludeInfoContext::~IncludeInfoContext ( )
private

Definition at line 1717 of file context.cpp.

1718 {
1719  delete p;
1720 }
Private * p
Definition: context.h:224

Member Function Documentation

virtual int IncludeInfoContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 218 of file context.h.

218 { return RefCountedContext::addRef(); }
static IncludeInfoContext* IncludeInfoContext::alloc ( const IncludeInfo info,
SrcLangExt  lang 
)
inlinestatic

Definition at line 213 of file context.h.

214  { return new IncludeInfoContext(info,lang); }
IncludeInfoContext(const IncludeInfo *, SrcLangExt lang)
Definition: context.cpp:1712
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 1722 of file context.cpp.

1723 {
1724  return p->get(n);
1725 }
TemplateVariant get(const char *n) const
Definition: context.cpp:1671
std::void_t< T > n
Private * p
Definition: context.h:224
virtual int IncludeInfoContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 219 of file context.h.

219 { return RefCountedContext::release(); }

Member Data Documentation

Private* IncludeInfoContext::p
private

Definition at line 224 of file context.h.


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