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

#include <context.h>

Inheritance diagram for AllMembersListContext:
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 AllMembersListContextalloc ()
 
static AllMembersListContextalloc (const MemberNameInfoSDict *ml)
 

Private Member Functions

 AllMembersListContext ()
 
 AllMembersListContext (const MemberNameInfoSDict *ml)
 
 ~AllMembersListContext ()
 

Private Attributes

Privatep
 

Detailed Description

Definition at line 1113 of file context.h.

Constructor & Destructor Documentation

AllMembersListContext::AllMembersListContext ( )
private

Definition at line 8668 of file context.cpp.

8668  : RefCountedContext("AllMembersListContext")
8669 {
8670  p = new Private(0);
8671 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
AllMembersListContext::AllMembersListContext ( const MemberNameInfoSDict ml)
private

Definition at line 8673 of file context.cpp.

8673  : RefCountedContext("AllMembersListContext")
8674 {
8675  p = new Private(ml);
8676 }
Definition: types.h:26
RefCountedContext(const char *)
Definition: context.h:109
AllMembersListContext::~AllMembersListContext ( )
private

Definition at line 8678 of file context.cpp.

8679 {
8680  delete p;
8681 }

Member Function Documentation

virtual int AllMembersListContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 1125 of file context.h.

1125 { return RefCountedContext::addRef(); }
static AllMembersListContext* AllMembersListContext::alloc ( )
inlinestatic

Definition at line 1116 of file context.h.

1117  { return new AllMembersListContext; }
static AllMembersListContext* AllMembersListContext::alloc ( const MemberNameInfoSDict ml)
inlinestatic

Definition at line 1118 of file context.h.

1119  { return new AllMembersListContext(ml); }
TemplateVariant AllMembersListContext::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 8689 of file context.cpp.

8690 {
8691  return p->at(index);
8692 }
TemplateVariant at(int index) const
Definition: context.cpp:181
int AllMembersListContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 8684 of file context.cpp.

8685 {
8686  return p->count();
8687 }
int count() const
Definition: context.cpp:177
TemplateListIntf::ConstIterator * AllMembersListContext::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 8694 of file context.cpp.

8695 {
8696  return p->createIterator();
8697 }
TemplateListIntf::ConstIterator * createIterator() const
Definition: context.cpp:190
virtual int AllMembersListContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 1126 of file context.h.

1126 { return RefCountedContext::release(); }

Member Data Documentation

Private* AllMembersListContext::p
private

Definition at line 1132 of file context.h.


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