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

#include <context.h>

Inheritance diagram for NamespaceListContext:
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 NamespaceListContextalloc ()
 

Private Member Functions

 NamespaceListContext ()
 
 ~NamespaceListContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 586 of file context.h.

Constructor & Destructor Documentation

NamespaceListContext::NamespaceListContext ( )
private

Definition at line 6833 of file context.cpp.

6833  : RefCountedContext("NamespaceListContext")
6834 {
6835  p = new Private;
6837 }
void addNamespaces(const NamespaceSDict &nsDict)
Definition: context.cpp:6819
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
static NamespaceSDict * namespaceSDict
Definition: doxygen.h:120
NamespaceListContext::~NamespaceListContext ( )
private

Definition at line 6839 of file context.cpp.

6840 {
6841  delete p;
6842 }

Member Function Documentation

virtual int NamespaceListContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 595 of file context.h.

595 { return RefCountedContext::addRef(); }
static NamespaceListContext* NamespaceListContext::alloc ( )
inlinestatic

Definition at line 589 of file context.h.

589 { return new NamespaceListContext; }
TemplateVariant NamespaceListContext::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 6850 of file context.cpp.

6851 {
6852  return p->at(index);
6853 }
TemplateVariant at(int index) const
Definition: context.cpp:181
int NamespaceListContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 6845 of file context.cpp.

6846 {
6847  return p->count();
6848 }
int count() const
Definition: context.cpp:177
TemplateListIntf::ConstIterator * NamespaceListContext::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 6855 of file context.cpp.

6856 {
6857  return p->createIterator();
6858 }
TemplateListIntf::ConstIterator * createIterator() const
Definition: context.cpp:190
virtual int NamespaceListContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 596 of file context.h.

596 { return RefCountedContext::release(); }

Member Data Documentation

Private* NamespaceListContext::p
private

Definition at line 601 of file context.h.


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