|
| | AttachedInfoT (Ptr parent=nullptr, Path p=Path()) |
| |
| | AttachedInfoT (const AttachedInfoT &o) |
| |
| AttachedInfo::Ptr | instantiate (AttachedInfo::Ptr parent, Path p=Path()) const override |
| |
| DomItem | infoItem (DomItem &self) override |
| |
| Ptr | makeCopy (DomItem &self) const |
| |
| Ptr | parent () const |
| |
| const Info & | info () const |
| |
| Info & | info () |
| |
| DomType | kind () const override |
| |
| Path | canonicalPath (DomItem &self) const override |
| |
| bool | iterateDirectSubpaths (DomItem &self, DirectVisitor visitor) override |
| |
| AttachedInfo::Ptr | makeCopy (DomItem &self) const |
| |
| Ptr | parent () const |
| |
| Path | path () const |
| |
| void | setPath (Path p) |
| |
| | AttachedInfo (Ptr parent=nullptr, Path p=Path()) |
| |
| | AttachedInfo (const AttachedInfo &o) |
| |
| DomItem | itemAtPath (DomItem &self, Path p, PathType pType=PathType::Relative) const |
| |
| DomItem | infoAtPath (DomItem &self, Path p, PathType pType=PathType::Relative) const |
| |
| MutableDomItem | ensureItemAtPath (MutableDomItem &self, Path p, PathType pType=PathType::Relative) |
| |
| MutableDomItem | ensureInfoAtPath (MutableDomItem &self, Path p, PathType pType=PathType::Relative) |
| |
| virtual AttachedInfo::Ptr | instantiate (AttachedInfo::Ptr parent, Path p=Path()) const =0 |
| |
| virtual DomItem | infoItem (DomItem &self)=0 |
| |
| DomItem | infoItem (DomItem &self) const |
| |
| QMap< Path, Ptr > | subItems () const |
| |
| void | setSubItems (QMap< Path, Ptr > v) |
| |
| | OwningItem (const OwningItem &o) |
| |
| | OwningItem (int derivedFrom=0) |
| |
| | OwningItem (int derivedFrom, QDateTime lastDataUpdateAt) |
| |
| | OwningItem (const OwningItem &&)=delete |
| |
| OwningItem & | operator= (const OwningItem &&)=delete |
| |
| Path | canonicalPath (DomItem &self) const override=0 |
| |
| bool | iterateDirectSubpaths (DomItem &self, DirectVisitor) override |
| |
| std::shared_ptr< OwningItem > | makeCopy (DomItem &self) const |
| |
| Path | pathFromOwner () const |
| |
| Path | pathFromOwner (DomItem &) const override final |
| |
| DomItem | containingObject (DomItem &self) const override |
| |
| int | derivedFrom () const |
| |
| virtual int | revision () const |
| |
| QDateTime | createdAt () const |
| |
| virtual QDateTime | lastDataUpdateAt () const |
| |
| virtual void | refreshedDataAt (QDateTime tNew) |
| |
| virtual bool | frozen () const |
| |
| virtual bool | freeze () |
| |
| QDateTime | frozenAt () const |
| |
| virtual void | addError (DomItem &self, ErrorMessage msg) |
| |
| void | addErrorLocal (ErrorMessage msg) |
| |
| void | clearErrors (ErrorGroups groups=ErrorGroups({})) |
| |
| bool | iterateErrors (DomItem &self, function_ref< bool(DomItem source, ErrorMessage msg)> visitor, Path inPath=Path()) |
| |
| QMultiMap< Path, ErrorMessage > | localErrors () const |
| |
| virtual bool | iterateSubOwners (DomItem &self, function_ref< bool(DomItem &owner)> visitor) |
| |
| QBasicMutex * | mutex () const |
| |
| 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 Ptr | createTree (Path p=Path()) |
| |
| static Ptr | ensure (Ptr self, Path path, PathType pType=PathType::Relative) |
| |
| static Ptr | find (Ptr self, Path p, PathType pType=PathType::Relative) |
| |
| static AttachedInfoLookupResult< Ptr > | findAttachedInfo (DomItem &item, QStringView fieldName, AttachedInfo::FindOptions options) |
| |
| static Ptr | treePtr (DomItem &item, QStringView fieldName) |
| |
| static bool | visitTree (Ptr base, function_ref< bool(Path, Ptr)>visitor, Path basePath=Path()) |
| |
| static Ptr | ensure (Ptr self, Path path, PathType pType=PathType::Relative) |
| | Returns that the AttachedInfo corresponding to the given path, creating it if it does not exists.
|
| |
| static Ptr | find (Ptr self, Path p, PathType pType=PathType::Relative) |
| |
| static AttachedInfoLookupResult< Ptr > | findAttachedInfo (DomItem &item, QStringView treeFieldName, FindOptions options=AttachedInfo::FindOption::None) |
| |
| static Ptr | treePtr (DomItem &item, QStringView fieldName) |
| |
| static int | nextRevision () |
| |
template<typename
Info>
class QQmlJS::Dom::AttachedInfoT< Info >
Definition at line 154 of file qqmldomattachedinfo_p.h.