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

#include <context.h>

Inheritance diagram for SymbolIndicesContext:
RefCountedContext TemplateListIntf

Classes

class  Private
 

Public Member Functions

virtual int count () const
 
virtual TemplateVariant at (int index) const
 
virtual TemplateListIntf::ConstIteratorcreateIterator () 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 TemplateListIntf
virtual ~TemplateListIntf ()
 

Static Public Member Functions

static SymbolIndicesContextalloc (const SearchIndexInfo *info)
 

Private Member Functions

 SymbolIndicesContext (const SearchIndexInfo *info)
 
 ~SymbolIndicesContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 1286 of file context.h.

Constructor & Destructor Documentation

SymbolIndicesContext::SymbolIndicesContext ( const SearchIndexInfo info)
private

Definition at line 9794 of file context.cpp.

9794  : RefCountedContext("SymbolIndicesContext")
9795 {
9796  p = new Private(info);
9797 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
SymbolIndicesContext::~SymbolIndicesContext ( )
private

Definition at line 9799 of file context.cpp.

9800 {
9801  delete p;
9802 }

Member Function Documentation

virtual int SymbolIndicesContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 1296 of file context.h.

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

Definition at line 1289 of file context.h.

1290  { return new SymbolIndicesContext(info); }
SymbolIndicesContext(const SearchIndexInfo *info)
Definition: context.cpp:9794
TemplateVariant SymbolIndicesContext::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 9810 of file context.cpp.

9811 {
9812  return p->at(index);
9813 }
TemplateVariant at(int index) const
Definition: context.cpp:181
int SymbolIndicesContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 9805 of file context.cpp.

9806 {
9807  return p->count();
9808 }
int count() const
Definition: context.cpp:177
TemplateListIntf::ConstIterator * SymbolIndicesContext::createIterator ( ) const
virtual

Creates a new iterator for this list.

Note
the user should call delete on the returned pointer.

Implements TemplateListIntf.

Definition at line 9815 of file context.cpp.

9816 {
9817  return p->createIterator();
9818 }
TemplateListIntf::ConstIterator * createIterator() const
Definition: context.cpp:190
virtual int SymbolIndicesContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 1297 of file context.h.

1297 { return RefCountedContext::release(); }

Member Data Documentation

Private* SymbolIndicesContext::p
private

Definition at line 1302 of file context.h.


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