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

#include <context.h>

Inheritance diagram for SymbolListContext:
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 SymbolListContextalloc (const SearchDefinitionList *sdl)
 

Private Member Functions

 SymbolListContext (const SearchDefinitionList *sdl)
 
 ~SymbolListContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 1202 of file context.h.

Constructor & Destructor Documentation

SymbolListContext::SymbolListContext ( const SearchDefinitionList sdl)
private

Definition at line 9570 of file context.cpp.

9571  : RefCountedContext("SymbolListContext")
9572 {
9573  p = new Private(sdl);
9574 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:1218
SymbolListContext::~SymbolListContext ( )
private

Definition at line 9576 of file context.cpp.

9577 {
9578  delete p;
9579 }
Private * p
Definition: context.h:1218

Member Function Documentation

virtual int SymbolListContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 1212 of file context.h.

1212 { return RefCountedContext::addRef(); }
static SymbolListContext* SymbolListContext::alloc ( const SearchDefinitionList sdl)
inlinestatic

Definition at line 1205 of file context.h.

1206  { return new SymbolListContext(sdl); }
SymbolListContext(const SearchDefinitionList *sdl)
Definition: context.cpp:9570
TemplateVariant SymbolListContext::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 9587 of file context.cpp.

9588 {
9589  return p->at(index);
9590 }
Private * p
Definition: context.h:1218
TemplateVariant at(int index) const
Definition: context.cpp:181
int SymbolListContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 9582 of file context.cpp.

9583 {
9584  return p->count();
9585 }
Private * p
Definition: context.h:1218
int count() const
Definition: context.cpp:177
TemplateListIntf::ConstIterator * SymbolListContext::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 9592 of file context.cpp.

9593 {
9594  return p->createIterator();
9595 }
TemplateListIntf::ConstIterator * createIterator() const
Definition: context.cpp:190
Private * p
Definition: context.h:1218
virtual int SymbolListContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 1213 of file context.h.

1213 { return RefCountedContext::release(); }

Member Data Documentation

Private* SymbolListContext::p
private

Definition at line 1218 of file context.h.


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