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

#include <context.h>

Inheritance diagram for ClassListContext:
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 ClassListContextalloc ()
 

Private Member Functions

 ClassListContext ()
 
 ~ClassListContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 387 of file context.h.

Constructor & Destructor Documentation

ClassListContext::ClassListContext ( )
private

Definition at line 5697 of file context.cpp.

5697  : RefCountedContext("ClassListContext")
5698 {
5699  p = new Private;
5702 }
static ClassSDict * hiddenClasses
Definition: doxygen.h:100
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
Private * p
Definition: context.h:402
static ClassSDict * classSDict
Definition: doxygen.h:99
void addClasses(const ClassSDict &classSDict)
Definition: context.cpp:5675
ClassListContext::~ClassListContext ( )
private

Definition at line 5704 of file context.cpp.

5705 {
5706  delete p;
5707 }
Private * p
Definition: context.h:402

Member Function Documentation

virtual int ClassListContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 396 of file context.h.

396 { return RefCountedContext::addRef(); }
static ClassListContext* ClassListContext::alloc ( )
inlinestatic

Definition at line 390 of file context.h.

390 { return new ClassListContext; }
TemplateVariant ClassListContext::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 5715 of file context.cpp.

5716 {
5717  return p->at(index);
5718 }
Private * p
Definition: context.h:402
TemplateVariant at(int index) const
Definition: context.cpp:181
int ClassListContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 5710 of file context.cpp.

5711 {
5712  return p->count();
5713 }
Private * p
Definition: context.h:402
int count() const
Definition: context.cpp:177
TemplateListIntf::ConstIterator * ClassListContext::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 5720 of file context.cpp.

5721 {
5722  return p->createIterator();
5723 }
TemplateListIntf::ConstIterator * createIterator() const
Definition: context.cpp:190
Private * p
Definition: context.h:402
virtual int ClassListContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 397 of file context.h.

397 { return RefCountedContext::release(); }

Member Data Documentation

Private* ClassListContext::p
private

Definition at line 402 of file context.h.


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