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

#include <context.h>

Inheritance diagram for TranslateContext:
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 TranslateContextalloc ()
 

Private Member Functions

 TranslateContext ()
 
 ~TranslateContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 167 of file context.h.

Constructor & Destructor Documentation

TranslateContext::TranslateContext ( )
private

Definition at line 1212 of file context.cpp.

1212  : RefCountedContext("TranslateContext")
1213 {
1214  p = new Private;
1215 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:180
TranslateContext::~TranslateContext ( )
private

Definition at line 1217 of file context.cpp.

1218 {
1219  delete p;
1220 }
Private * p
Definition: context.h:180

Member Function Documentation

virtual int TranslateContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 174 of file context.h.

174 { return RefCountedContext::addRef(); }
static TranslateContext* TranslateContext::alloc ( )
inlinestatic

Definition at line 170 of file context.h.

170 { return new TranslateContext; }
TemplateVariant TranslateContext::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 1222 of file context.cpp.

1223 {
1224  return p->get(n);
1225 }
TemplateVariant get(const char *n) const
Definition: context.cpp:1198
std::void_t< T > n
Private * p
Definition: context.h:180
virtual int TranslateContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 175 of file context.h.

175 { return RefCountedContext::release(); }

Member Data Documentation

Private* TranslateContext::p
private

Definition at line 180 of file context.h.


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