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

#include <context.h>

Inheritance diagram for MemberInfoContext:
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 MemberInfoContextalloc (const MemberInfo *mi)
 

Private Member Functions

 MemberInfoContext (const MemberInfo *mi)
 
 ~MemberInfoContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 1052 of file context.h.

Constructor & Destructor Documentation

MemberInfoContext::MemberInfoContext ( const MemberInfo mi)
private

Definition at line 8614 of file context.cpp.

8614  : RefCountedContext("MemberInfoContext")
8615 {
8616  p = new Private(mi);
8617 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:1065
MemberInfoContext::~MemberInfoContext ( )
private

Definition at line 8619 of file context.cpp.

8620 {
8621  delete p;
8622 }
Private * p
Definition: context.h:1065

Member Function Documentation

virtual int MemberInfoContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 1059 of file context.h.

1059 { return RefCountedContext::addRef(); }
static MemberInfoContext* MemberInfoContext::alloc ( const MemberInfo mi)
inlinestatic

Definition at line 1055 of file context.h.

1055 { return new MemberInfoContext(mi); }
MemberInfoContext(const MemberInfo *mi)
Definition: context.cpp:8614
TemplateVariant MemberInfoContext::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 8624 of file context.cpp.

8625 {
8626  return p->get(name);
8627 }
static QCString name
Definition: declinfo.cpp:673
Private * p
Definition: context.h:1065
TemplateVariant get(const char *n) const
Definition: context.cpp:8561
virtual int MemberInfoContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 1060 of file context.h.

1060 { return RefCountedContext::release(); }

Member Data Documentation

Private* MemberInfoContext::p
private

Definition at line 1065 of file context.h.


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