My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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::ConstIterator
createIterator () 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 8683 of file context.cpp.

References p, and Private.

Referenced by alloc().

: RefCountedContext("AllMembersListContext")
{
p = new Private(0);
}
AllMembersListContext::AllMembersListContext ( const MemberNameInfoSDict ml)
private

Definition at line 8688 of file context.cpp.

References p, and Private.

: RefCountedContext("AllMembersListContext")
{
p = new Private(ml);
}
AllMembersListContext::~AllMembersListContext ( )
private

Definition at line 8693 of file context.cpp.

References p.

{
delete p;
}

Member Function Documentation

virtual int AllMembersListContext::addRef ( )
inlinevirtual

Increase object's reference count

Implements TemplateListIntf.

Definition at line 1125 of file context.h.

References RefCountedContext::addRef().

static AllMembersListContext* AllMembersListContext::alloc ( )
inlinestatic

Definition at line 1116 of file context.h.

References AllMembersListContext().

Referenced by ClassContext::Private::allMembersList().

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

Definition at line 1118 of file context.h.

References AllMembersListContext().

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

Returns the element at index position index.

Implements TemplateListIntf.

Definition at line 8704 of file context.cpp.

References GenericNodeListContext::at(), and p.

{
return p->at(index);
}
int AllMembersListContext::count ( ) const
virtual

Returns the number of elements in the list

Implements TemplateListIntf.

Definition at line 8699 of file context.cpp.

References GenericNodeListContext::count(), and p.

{
return p->count();
}
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 8709 of file context.cpp.

References GenericNodeListContext::createIterator(), and p.

{
return p->createIterator();
}
virtual int AllMembersListContext::release ( )
inlinevirtual

Decreases object's referenc count, destroy object if 0

Implements TemplateListIntf.

Definition at line 1126 of file context.h.

References RefCountedContext::release().

Member Data Documentation

Private* AllMembersListContext::p
private

Definition at line 1132 of file context.h.

Referenced by AllMembersListContext(), at(), count(), createIterator(), and ~AllMembersListContext().


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