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

#include <context.h>

Inheritance diagram for SymbolGroupListContext:
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 SymbolGroupListContextalloc (const SearchIndexList *sil)
 

Private Member Functions

 SymbolGroupListContext (const SearchIndexList *sil)
 
 ~SymbolGroupListContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 1244 of file context.h.

Constructor & Destructor Documentation

SymbolGroupListContext::SymbolGroupListContext ( const SearchIndexList sil)
private

Definition at line 9681 of file context.cpp.

9682  : RefCountedContext("SymbolGroupListContext")
9683 {
9684  p = new Private(sil);
9685 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
SymbolGroupListContext::~SymbolGroupListContext ( )
private

Definition at line 9687 of file context.cpp.

9688 {
9689  delete p;
9690 }

Member Function Documentation

virtual int SymbolGroupListContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 1254 of file context.h.

1254 { return RefCountedContext::addRef(); }
static SymbolGroupListContext* SymbolGroupListContext::alloc ( const SearchIndexList sil)
inlinestatic

Definition at line 1247 of file context.h.

1248  { return new SymbolGroupListContext(sil); }
SymbolGroupListContext(const SearchIndexList *sil)
Definition: context.cpp:9681
TemplateVariant SymbolGroupListContext::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 9698 of file context.cpp.

9699 {
9700  return p->at(index);
9701 }
TemplateVariant at(int index) const
Definition: context.cpp:181
int SymbolGroupListContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 9693 of file context.cpp.

9694 {
9695  return p->count();
9696 }
int count() const
Definition: context.cpp:177
TemplateListIntf::ConstIterator * SymbolGroupListContext::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 9703 of file context.cpp.

9704 {
9705  return p->createIterator();
9706 }
TemplateListIntf::ConstIterator * createIterator() const
Definition: context.cpp:190
virtual int SymbolGroupListContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 1255 of file context.h.

1255 { return RefCountedContext::release(); }

Member Data Documentation

Private* SymbolGroupListContext::p
private

Definition at line 1260 of file context.h.


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