My Project
|
Default implementation of a context value of type list. More...
#include <template.h>
Classes | |
class | Private |
Private data of a template list object. More... | |
Public Member Functions | |
virtual int | count () const |
virtual TemplateVariant | at (int index) const |
virtual TemplateListIntf::ConstIterator * | createIterator () const |
virtual int | addRef () |
virtual int | release () |
virtual void | append (const TemplateVariant &v) |
Public Member Functions inherited from TemplateListIntf | |
virtual | ~TemplateListIntf () |
Static Public Member Functions | |
static TemplateList * | alloc () |
Private Member Functions | |
TemplateList () | |
~TemplateList () | |
Private Attributes | |
Private * | p |
Friends | |
class | TemplateListConstIterator |
Default implementation of a context value of type list.
Definition at line 376 of file template.h.
|
private |
|
private |
|
virtual |
Increase object's reference count
Implements TemplateListIntf.
Definition at line 324 of file template.cpp.
References p, and TemplateList::Private::refCount.
|
static |
Creates an instance with ref count set to 0
Definition at line 421 of file template.cpp.
References TemplateList().
Referenced by TemplateContextImpl::addIndexEntry(), FilterList::apply(), FilterFlatten::apply(), FilterListSort::apply(), FilterGroupBy::apply(), FilterPaginate::apply(), FilterAlphaIndex::apply(), DefinitionContext< T >::Cachable< NamespaceContext::Private >::Cachable(), ClassContext::Private::classes(), NamespaceContext::Private::classes(), FileContext::Private::classes(), ModuleContext::Private::classes(), NamespaceContext::Private::constantgroups(), FileContext::Private::constantgroups(), ModuleContext::Private::constantgroups(), ClassHierarchyContext::Private::diagrams(), DirContext::Private::dirs(), ModuleContext::Private::dirs(), ClassContext::Private::examples(), MemberContext::Private::examples(), ModuleContext::Private::examples(), ConfigContext::Private::fetchList(), DirContext::Private::files(), ModuleContext::Private::files(), GlobalsIndexContext::Private::getMembersFiltered(), ClassMembersIndexContext::Private::getMembersFiltered(), NamespaceMembersIndexContext::Private::getMembersFiltered(), getPathFunc(), MemberContext::Private::implementedBy(), MemberContext::Private::implements(), InheritedMemberInfoContext::Private::inheritedFrom(), NamespaceContext::Private::inlineClasses(), FileContext::Private::inlineClasses(), ModuleContext::Private::inlineClasses(), ClassContext::Private::innerClasses(), MemberContext::Private::labels(), ClassIndexContext::Private::list(), ModuleContext::Private::modules(), NamespaceContext::Private::namespaces(), FileContext::Private::namespaces(), ModuleContext::Private::namespaces(), DefinitionContext< FileContext::Private >::navigationPath(), TemplateContextImpl::openSubIndex(), ModuleContext::Private::pages(), MemberContext::Private::Private(), MemberContext::Private::reimplementedBy(), MemberContext::Private::reimplements(), ClassContext::Private::templateDecls(), and MemberContext::Private::templateDecls().
|
virtual |
Appends element v to the end of the list
Definition at line 344 of file template.cpp.
References TemplateList::Private::elems, and p.
Referenced by ClassContext::Private::addExamples(), MemberContext::Private::addExamples(), TemplateContextImpl::addIndexEntry(), ClassContext::Private::addTemplateDecls(), MemberContext::Private::addTemplateDecls(), FilterList::apply(), FilterListSort::apply(), FilterGroupBy::apply(), FilterPaginate::apply(), FilterAlphaIndex::apply(), DefinitionContext< T >::Cachable< NamespaceContext::Private >::Cachable(), ClassContext::Private::classes(), NamespaceContext::Private::classes(), FileContext::Private::classes(), ModuleContext::Private::classes(), NamespaceContext::Private::constantgroups(), FileContext::Private::constantgroups(), ModuleContext::Private::constantgroups(), ClassHierarchyContext::Private::diagrams(), DirContext::Private::dirs(), ModuleContext::Private::dirs(), ModuleContext::Private::examples(), ConfigContext::Private::fetchList(), DirContext::Private::files(), ModuleContext::Private::files(), DefinitionContext< FileContext::Private >::fillPath(), FilterFlatten::flatten(), GlobalsIndexContext::Private::getMembersFiltered(), ClassMembersIndexContext::Private::getMembersFiltered(), NamespaceMembersIndexContext::Private::getMembersFiltered(), getPathListFunc(), MemberContext::Private::implementedBy(), MemberContext::Private::implements(), InheritedMemberInfoContext::Private::inheritedFrom(), NamespaceContext::Private::inlineClasses(), FileContext::Private::inlineClasses(), ModuleContext::Private::inlineClasses(), ClassContext::Private::innerClasses(), MemberContext::Private::labels(), ClassIndexContext::Private::list(), ModuleContext::Private::modules(), NamespaceContext::Private::namespaces(), FileContext::Private::namespaces(), ModuleContext::Private::namespaces(), ModuleContext::Private::pages(), MemberContext::Private::Private(), MemberContext::Private::reimplementedBy(), and MemberContext::Private::reimplements().
|
virtual |
Returns the element at index position index.
Implements TemplateListIntf.
Definition at line 409 of file template.cpp.
References TemplateList::Private::elems, and p.
Referenced by TemplateContextImpl::addIndexEntry().
|
virtual |
Returns the number of elements in the list
Implements TemplateListIntf.
Definition at line 339 of file template.cpp.
References TemplateList::Private::elems, and p.
Referenced by TemplateContextImpl::addIndexEntry(), release(), and TemplateListConstIterator::toLast().
|
virtual |
Creates a new iterator for this list.
Implements TemplateListIntf.
Definition at line 404 of file template.cpp.
References TemplateListConstIterator.
|
virtual |
Decreases object's referenc count, destroy object if 0
Implements TemplateListIntf.
Definition at line 329 of file template.cpp.
References count(), p, and TemplateList::Private::refCount.
|
friend |
Definition at line 398 of file template.h.
Referenced by createIterator().
|
private |
Definition at line 399 of file template.h.
Referenced by addRef(), append(), at(), count(), release(), TemplateList(), TemplateListConstIterator::toFirst(), TemplateListConstIterator::toLast(), TemplateListConstIterator::toNext(), and ~TemplateList().