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

#include <context.h>

Inheritance diagram for SearchIndexContext:
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 SearchIndexContextalloc (const SearchIndexInfo *info)
 

Private Member Functions

 SearchIndexContext (const SearchIndexInfo *info)
 
 ~SearchIndexContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 1308 of file context.h.

Constructor & Destructor Documentation

SearchIndexContext::SearchIndexContext ( const SearchIndexInfo info)
private

Definition at line 9871 of file context.cpp.

9872  : RefCountedContext("SearchIndexContext")
9873 {
9874  p = new Private(info);
9875 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
SearchIndexContext::~SearchIndexContext ( )
private

Definition at line 9877 of file context.cpp.

9878 {
9879  delete p;
9880 }

Member Function Documentation

virtual int SearchIndexContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateStructIntf.

Definition at line 1316 of file context.h.

1316 { return RefCountedContext::addRef(); }
static SearchIndexContext* SearchIndexContext::alloc ( const SearchIndexInfo info)
inlinestatic

Definition at line 1311 of file context.h.

1312  { return new SearchIndexContext(info); }
SearchIndexContext(const SearchIndexInfo *info)
Definition: context.cpp:9871
TemplateVariant SearchIndexContext::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 9882 of file context.cpp.

9883 {
9884  return p->get(name);
9885 }
static QCString name
Definition: declinfo.cpp:673
TemplateVariant get(const char *n) const
Definition: context.cpp:9838
virtual int SearchIndexContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateStructIntf.

Definition at line 1317 of file context.h.

1317 { return RefCountedContext::release(); }

Member Data Documentation

Private* SearchIndexContext::p
private

Definition at line 1322 of file context.h.


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