Doxygen
|
Default implementation of a immutable context value of type list. 更多...
#include <template.h>
类 | |
class | Private |
Private data of a template immutable list object 更多... | |
Public 成员函数 | |
virtual uint | count () const |
Returns the number of elements in the list 更多... | |
virtual TemplateVariant | at (uint index) const |
Returns the element at index position index. 更多... | |
virtual TemplateListIntf::ConstIteratorPtr | createIterator () const |
Creates a new iterator for this list. 更多... | |
TemplateImmutableList (std::initializer_list< TemplateVariant > elements) | |
Creates a list 更多... | |
TemplateImmutableList (const std::vector< TemplateVariant > &elements) | |
virtual | ~TemplateImmutableList () |
Destroys the list 更多... | |
Public 成员函数 继承自 TemplateListIntf | |
virtual | ~TemplateListIntf () |
Destroys the list 更多... | |
静态 Public 成员函数 | |
static TemplateListIntfPtr | alloc (std::initializer_list< TemplateVariant > elements) |
Creates an instance and returns a shared pointer to it 更多... | |
static TemplateListIntfPtr | alloc (const std::vector< TemplateVariant > &elements) |
Private 属性 | |
std::unique_ptr< Private > | p |
额外继承的成员函数 | |
Public 类型 继承自 TemplateListIntf | |
using | ConstIteratorPtr = std::unique_ptr< ConstIterator > |
Default implementation of a immutable context value of type list.
在文件 template.h 第 311 行定义.
TemplateImmutableList::TemplateImmutableList | ( | std::initializer_list< TemplateVariant > | elements | ) |
TemplateImmutableList::TemplateImmutableList | ( | const std::vector< TemplateVariant > & | elements | ) |
|
virtual |
|
static |
|
static |
Creates an instance and returns a shared pointer to it
在文件 template.cpp 第 543 行定义.
被这些函数引用 ClassContext::Private::createClasses(), NamespaceContext::Private::createClasses(), FileContext::Private::createClasses(), ModuleContext::Private::createClasses(), ClassIndexContext::Private::createClasses(), ConfigContext::Private::createConfigData(), NamespaceContext::Private::createConstantgroups(), FileContext::Private::createConstantgroups(), ModuleContext::Private::createConstantgroups(), ClassHierarchyContext::Private::createDiagrams(), DirContext::Private::createDirs(), ModuleContext::Private::createDirs(), MemberContext::Private::createEventAttrs(), ClassContext::Private::createExamples(), MemberContext::Private::createExamples(), ModuleContext::Private::createExamples(), DirContext::Private::createFiles(), ModuleContext::Private::createFiles(), MemberContext::Private::createImplementedBy(), MemberContext::Private::createImplements(), InheritedMemberInfoContext::Private::createInheritedFrom(), NamespaceContext::Private::createInlineClasses(), FileContext::Private::createInlineClasses(), ModuleContext::Private::createInlineClasses(), ClassContext::Private::createInnerClasses(), MemberContext::Private::createLabels(), GlobalsIndexContext::Private::createMembersFiltered(), ClassMembersIndexContext::Private::createMembersFiltered(), NamespaceMembersIndexContext::Private::createMembersFiltered(), ModuleContext::Private::createModules(), NamespaceContext::Private::createNamespaces(), FileContext::Private::createNamespaces(), ModuleContext::Private::createNamespaces(), DefinitionContext< FileContext::Private >::createNavigationPath(), ModuleContext::Private::createPages(), DefinitionContext< FileContext::Private >::createPartOfGroups(), MemberContext::Private::createPropertyAttrs(), MemberContext::Private::createReimplementedBy(), MemberContext::Private::createReimplements(), ClassContext::Private::createTemplateDecls(), MemberContext::Private::createTemplateDecls(), ConceptContext::Private::createTemplateDecls() , 以及 DefinitionContext< FileContext::Private >::DefinitionContext().
|
virtual |
Returns the element at index position index.
实现了 TemplateListIntf.
在文件 template.cpp 第 538 行定义.
引用了 p.
|
virtual |
|
virtual |
Creates a new iterator for this list.
实现了 TemplateListIntf.
在文件 template.cpp 第 533 行定义.
|
private |
在文件 template.h 第 330 行定义.