|
Doxygen
|
Default implementation of a context value of type list. 更多...
类 TemplateList 继承关系图:
TemplateList 的协作图: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. 更多... | |
| virtual void | append (const TemplateVariant &v) |
| Appends element v to the end of the list 更多... | |
| void | removeAt (uint index) |
| void | insertAt (uint index, TemplateListPtr list) |
| TemplateList ()=default | |
| Creates a list 更多... | |
| virtual | ~TemplateList ()=default |
| Destroys the list 更多... | |
Public 成员函数 继承自 TemplateListIntf | |
| virtual | ~TemplateListIntf () |
| Destroys the list 更多... | |
静态 Public 成员函数 | |
| static TemplateListPtr | alloc () |
| Creates an instance and returns a shared pointer to it 更多... | |
Private 属性 | |
| TemplateVariantList | m_elems |
额外继承的成员函数 | |
Public 类型 继承自 TemplateListIntf | |
| using | ConstIteratorPtr = std::unique_ptr< ConstIterator > |
Default implementation of a context value of type list.
在文件 template.cpp 第 273 行定义.
|
default |
Creates a list
|
virtualdefault |
Destroys the list
|
inlinestatic |
Creates an instance and returns a shared pointer to it
在文件 template.cpp 第 291 行定义.
被这些函数引用 TemplateContextImpl::addIndexEntry(), FilterKeep::apply(), FilterList::apply(), FilterFlatten::apply(), FilterListSort::apply(), FilterGroupBy::apply(), FilterPaginate::apply(), FilterAlphaIndex::apply(), getPathFunc() , 以及 TemplateContextImpl::openSubIndex().
|
inlinevirtual |
|
inlinevirtual |
Returns the element at index position index.
实现了 TemplateListIntf.
在文件 template.cpp 第 281 行定义.
引用了 m_elems.
|
inlinevirtual |
Returns the number of elements in the list
实现了 TemplateListIntf.
在文件 template.cpp 第 277 行定义.
引用了 m_elems.
|
inlinevirtual |
Creates a new iterator for this list.
实现了 TemplateListIntf.
在文件 template.cpp 第 285 行定义.
|
inline |
|
inline |
|
private |
在文件 template.cpp 第 322 行定义.
被这些函数引用 append(), at(), count(), insertAt() , 以及 removeAt().