Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJS::Dom::ListPT< T > Class Template Referencefinal

#include <qqmldomitem_p.h>

+ Inheritance diagram for QQmlJS::Dom::ListPT< T >:
+ Collaboration diagram for QQmlJS::Dom::ListPT< T >:

Public Member Functions

 ListPT (Path pathFromOwner, QList< T * > pList, QString elType=QString(), ListOptions options=ListOptions::Normal)
 
void copyTo (ListPBase *t) const override
 
void moveTo (ListPBase *t) const override
 
bool iterateDirectSubpaths (DomItem &self, DirectVisitor v) override
 
DomItem index (DomItem &self, index_type index) const override
 
- Public Member Functions inherited from QQmlJS::Dom::ListPBase
DomType kind () const override
 
 ListPBase (Path pathFromOwner, const QList< void * > &pList, QString elType)
 
bool iterateDirectSubpaths (DomItem &self, DirectVisitor v) override
 
virtual void copyTo (ListPBase *) const
 
virtual void moveTo (ListPBase *) const
 
quintptr id () const override
 
index_type indexes (DomItem &) 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
 
DomBasedomBase ()
 
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< QStringfields (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 Attributes

static constexpr DomType kindValue = DomType::ListP
 
- Static Public Attributes inherited from QQmlJS::Dom::ListPBase
static constexpr DomType kindValue = DomType::ListP
 

Additional Inherited Members

- Public Types inherited from QQmlJS::Dom::DomBase
using FilterT = function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)>
 
- Protected Member Functions inherited from QQmlJS::Dom::DomElement
DomElementoperator= (const DomElement &)=default
 
- Protected Attributes inherited from QQmlJS::Dom::ListPBase
QList< void * > m_pList
 
QString m_elType
 

Detailed Description

template<typename T>
class QQmlJS::Dom::ListPT< T >

Definition at line 399 of file qqmldomitem_p.h.

Constructor & Destructor Documentation

◆ ListPT()

template<typename T >
QQmlJS::Dom::ListPT< T >::ListPT ( Path  pathFromOwner,
QList< T * >  pList,
QString  elType = QString(),
ListOptions  options = ListOptions::Normal 
)
inline

Definition at line 404 of file qqmldomitem_p.h.

Member Function Documentation

◆ copyTo()

template<typename T >
void QQmlJS::Dom::ListPT< T >::copyTo ( ListPBase t) const
inlineoverridevirtual

Reimplemented from QQmlJS::Dom::ListPBase.

Definition at line 425 of file qqmldomitem_p.h.

◆ index()

template<typename T >
DomItem QQmlJS::Dom::ListPT< T >::index ( DomItem self,
index_type  index 
) const
overridevirtual

Reimplemented from QQmlJS::Dom::DomBase.

Definition at line 2157 of file qqmldomitem_p.h.

◆ iterateDirectSubpaths()

template<typename T >
bool QQmlJS::Dom::ListPT< T >::iterateDirectSubpaths ( DomItem self,
DirectVisitor  v 
)
overridevirtual

Reimplemented from QQmlJS::Dom::ListPBase.

Definition at line 2146 of file qqmldomitem_p.h.

References i.

◆ moveTo()

template<typename T >
void QQmlJS::Dom::ListPT< T >::moveTo ( ListPBase t) const
inlineoverridevirtual

Reimplemented from QQmlJS::Dom::ListPBase.

Definition at line 426 of file qqmldomitem_p.h.

Member Data Documentation

◆ kindValue

template<typename T >
constexpr DomType QQmlJS::Dom::ListPT< T >::kindValue = DomType::ListP
staticconstexpr

Definition at line 402 of file qqmldomitem_p.h.


The documentation for this class was generated from the following file: