![]() |
Qt 6.x
The Qt SDK
|
#include <qqmldomitem_p.h>
Inheritance diagram for QQmlJS::Dom::List:
Collaboration diagram for QQmlJS::Dom::List:Public Types | |
| using | LookupFunction = std::function< DomItem(DomItem &, index_type)> |
| using | Length = std::function< index_type(DomItem &)> |
| using | IteratorFunction = std::function< bool(DomItem &, function_ref< bool(index_type, function_ref< DomItem()>)>)> |
Public Types inherited from QQmlJS::Dom::DomBase | |
| using | FilterT = function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)> |
Public Member Functions | |
| DomType | kind () const override |
| List * | operator-> () |
| const List * | operator-> () const |
| List & | operator* () |
| const List & | operator* () const |
| List (Path pathFromOwner, LookupFunction lookup, Length length, IteratorFunction iterator, QString elType) | |
| quintptr | id () const override |
| bool | iterateDirectSubpaths (DomItem &self, DirectVisitor) override |
| void | dump (DomItem &, Sink s, int indent, function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)>) const override |
| index_type | indexes (DomItem &self) const override |
| DomItem | index (DomItem &self, index_type index) const override |
| void | writeOut (DomItem &self, OutWriter &ow, bool compact) const |
| void | writeOut (DomItem &self, OutWriter &ow) const override |
Public Member Functions inherited from QQmlJS::Dom::DomElement | |
| DomElement (Path pathFromOwner=Path()) | |
| DomElement (const DomElement &o)=default | |
| Path | pathFromOwner (DomItem &self) const override |
| Path | pathFromOwner () const |
| Path | canonicalPath (DomItem &self) const override |
| DomItem | containingObject (DomItem &self) const override |
| virtual void | updatePathFromOwner (Path newPath) |
Public Member Functions inherited from QQmlJS::Dom::DomBase | |
| virtual | ~DomBase ()=default |
| DomBase * | domBase () |
| virtual DomType | kind () const =0 |
| virtual DomKind | domKind () const |
| virtual Path | pathFromOwner (DomItem &self) const =0 |
| virtual Path | canonicalPath (DomItem &self) const =0 |
| virtual bool | iterateDirectSubpaths (DomItem &self, DirectVisitor visitor)=0 |
| bool | iterateDirectSubpathsConst (DomItem &self, DirectVisitor) const |
| virtual DomItem | containingObject (DomItem &self) const |
| virtual void | dump (DomItem &, Sink sink, int indent, FilterT filter) const |
| virtual quintptr | id () const |
| QString | typeName () const |
| virtual QList< QString > | fields (DomItem &self) const |
| virtual DomItem | field (DomItem &self, QStringView name) const |
| virtual index_type | indexes (DomItem &self) const |
| virtual DomItem | index (DomItem &self, index_type index) const |
| virtual QSet< QString > const | keys (DomItem &self) const |
| virtual DomItem | key (DomItem &self, QString name) const |
| virtual QString | canonicalFilePath (DomItem &self) const |
| virtual void | writeOut (DomItem &self, OutWriter &lw) const |
| virtual QCborValue | value () const |
Static Public Member Functions | |
| template<typename T > | |
| static List | fromQList (Path pathFromOwner, QList< T > list, std::function< DomItem(DomItem &, const PathEls::PathComponent &, T &)> elWrapper, ListOptions options=ListOptions::Normal) |
| template<typename T > | |
| static List | fromQListRef (Path pathFromOwner, QList< T > &list, std::function< DomItem(DomItem &, const PathEls::PathComponent &, T &)> elWrapper, ListOptions options=ListOptions::Normal) |
Static Public Attributes | |
| static constexpr DomType | kindValue = DomType::List |
Additional Inherited Members | |
Protected Member Functions inherited from QQmlJS::Dom::DomElement | |
| DomElement & | operator= (const DomElement &)=default |
Definition at line 330 of file qqmldomitem_p.h.
| using QQmlJS::Dom::List::IteratorFunction = std::function<bool(DomItem &, function_ref<bool(index_type, function_ref<DomItem()>)>)> |
Definition at line 343 of file qqmldomitem_p.h.
| using QQmlJS::Dom::List::Length = std::function<index_type(DomItem &)> |
Definition at line 342 of file qqmldomitem_p.h.
| using QQmlJS::Dom::List::LookupFunction = std::function<DomItem(DomItem &, index_type)> |
Definition at line 341 of file qqmldomitem_p.h.
| QQmlJS::Dom::List::List | ( | Path | pathFromOwner, |
| LookupFunction | lookup, | ||
| Length | length, | ||
| IteratorFunction | iterator, | ||
| QString | elType | ||
| ) |
|
override |
|
static |
Definition at line 1405 of file qqmldomitem_p.h.
References i, list, QQmlJS::Dom::DomElement::pathFromOwner(), QQmlJS::Dom::Reverse, and QList< T >::size().
Here is the call graph for this function:
|
static |
Definition at line 1433 of file qqmldomitem_p.h.
References i, list, QQmlJS::Dom::DomElement::pathFromOwner(), QQmlJS::Dom::Reverse, and QList< T >::size().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QQmlJS::Dom::DomBase.
|
overridevirtual |
Reimplemented from QQmlJS::Dom::DomBase.
|
overridevirtual |
Reimplemented from QQmlJS::Dom::DomBase.
|
overridevirtual |
Implements QQmlJS::Dom::DomBase.
Referenced by QQmlJS::Dom::ScriptElements::ScriptList::iterateDirectSubpaths().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements QQmlJS::Dom::DomBase.
Definition at line 334 of file qqmldomitem_p.h.
|
inline |
Definition at line 338 of file qqmldomitem_p.h.
|
inline |
Definition at line 339 of file qqmldomitem_p.h.
|
inline |
Definition at line 336 of file qqmldomitem_p.h.
|
inline |
Definition at line 337 of file qqmldomitem_p.h.
Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 366 of file qqmldomitem_p.h.
References writeOut().
Referenced by writeOut().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticconstexpr |
Definition at line 333 of file qqmldomitem_p.h.