My Project
|
Abstract read-only interface for a context value of type list. More...
#include <template.h>
Classes | |
class | ConstIterator |
Abstract interface for a iterator of a list. More... | |
Public Member Functions | |
virtual | ~TemplateListIntf () |
virtual int | count () const =0 |
virtual TemplateVariant | at (int index) const =0 |
virtual TemplateListIntf::ConstIterator * | createIterator () const =0 |
virtual int | addRef ()=0 |
virtual int | release ()=0 |
Abstract read-only interface for a context value of type list.
Definition at line 329 of file template.h.
|
inlinevirtual |
|
pure virtual |
Increase object's reference count
Implemented in SearchIndicesContext, SymbolIndicesContext, SymbolGroupListContext, SymbolListContext, ArgumentListContext, AllMembersListContext, InheritedMemberInfoListContext, MemberGroupListContext, MemberListContext, InheritanceListContext, ExampleListContext, ModuleListContext, PageListContext, FileListContext, DirListContext, NamespaceListContext, NestingContext, ClassInheritanceContext, ClassListContext, TemplateList, IncludeInfoListContext, GenericNodeListContext, and UsedFilesContext.
Referenced by TemplateVariant::operator=(), and TemplateVariant::TemplateVariant().
|
pure virtual |
Returns the element at index position index.
Implemented in SearchIndicesContext, SymbolIndicesContext, SymbolGroupListContext, SymbolListContext, ArgumentListContext, AllMembersListContext, InheritedMemberInfoListContext, MemberGroupListContext, MemberListContext, InheritanceListContext, ExampleListContext, ModuleListContext, PageListContext, FileListContext, DirListContext, NamespaceListContext, NestingContext, ClassInheritanceContext, ClassListContext, TemplateList, IncludeInfoListContext, UsedFilesContext, and GenericNodeListContext.
Referenced by TemplateContextImpl::get().
|
pure virtual |
Returns the number of elements in the list
Implemented in SearchIndicesContext, SymbolIndicesContext, SymbolGroupListContext, SymbolListContext, ArgumentListContext, AllMembersListContext, InheritedMemberInfoListContext, MemberGroupListContext, MemberListContext, InheritanceListContext, ExampleListContext, ModuleListContext, PageListContext, FileListContext, DirListContext, NamespaceListContext, NestingContext, ClassInheritanceContext, ClassListContext, TemplateList, IncludeInfoListContext, UsedFilesContext, and GenericNodeListContext.
Referenced by FilterLength::apply(), TemplateNodeFor::render(), TemplateNodeTree::renderChildren(), TemplateVariant::toBool(), and TemplateVariant::toInt().
|
pure virtual |
Creates a new iterator for this list.
Implemented in SearchIndicesContext, SymbolIndicesContext, SymbolGroupListContext, SymbolListContext, ArgumentListContext, AllMembersListContext, InheritedMemberInfoListContext, MemberGroupListContext, MemberListContext, InheritanceListContext, ExampleListContext, ModuleListContext, PageListContext, FileListContext, DirListContext, NamespaceListContext, NestingContext, ClassInheritanceContext, ClassListContext, TemplateList, IncludeInfoListContext, UsedFilesContext, and GenericNodeListContext.
Referenced by FilterListSort::apply(), FilterGroupBy::apply(), FilterPaginate::apply(), FilterAlphaIndex::apply(), computeMaxDepth(), computeNumNodesAtLevel(), computePreferredDepth(), FilterFlatten::flatten(), TemplateNodeFor::render(), TemplateNodeMarkers::render(), and TemplateNodeTree::renderChildren().
|
pure virtual |
Decreases object's referenc count, destroy object if 0
Implemented in SearchIndicesContext, SymbolIndicesContext, SymbolGroupListContext, SymbolListContext, ArgumentListContext, AllMembersListContext, InheritedMemberInfoListContext, MemberGroupListContext, MemberListContext, InheritanceListContext, ExampleListContext, ModuleListContext, PageListContext, FileListContext, DirListContext, NamespaceListContext, NestingContext, ClassInheritanceContext, ClassListContext, TemplateList, IncludeInfoListContext, GenericNodeListContext, and UsedFilesContext.
Referenced by TemplateVariant::operator=(), and TemplateVariant::~TemplateVariant().