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

#include <context.h>

Inheritance diagram for DirContext:
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 DirContextalloc (DirDef *dd)
 

Private Member Functions

 DirContext (DirDef *)
 
 ~DirContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 309 of file context.h.

Constructor & Destructor Documentation

DirContext::DirContext ( DirDef fd)
private

Definition at line 3548 of file context.cpp.

3548  : RefCountedContext("DirContext")
3549 {
3550  p = new Private(fd);
3551 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:322
DirContext::~DirContext ( )
private

Definition at line 3553 of file context.cpp.

3554 {
3555  delete p;
3556 }
Private * p
Definition: context.h:322

Member Function Documentation

virtual int DirContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 316 of file context.h.

316 { return RefCountedContext::addRef(); }
static DirContext* DirContext::alloc ( DirDef dd)
inlinestatic

Definition at line 312 of file context.h.

312 { return new DirContext(dd); }
DirContext(DirDef *)
Definition: context.cpp:3548
TemplateVariant DirContext::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 3558 of file context.cpp.

3559 {
3560  return p->get(n);
3561 }
std::void_t< T > n
Private * p
Definition: context.h:322
TemplateVariant get(const char *n) const
Definition: context.cpp:3392
virtual int DirContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 317 of file context.h.

317 { return RefCountedContext::release(); }

Member Data Documentation

Private* DirContext::p
private

Definition at line 322 of file context.h.


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