diff options
Diffstat (limited to 'src/xmlpatterns/type/qanysimpletype_p.h')
-rw-r--r-- | src/xmlpatterns/type/qanysimpletype_p.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/xmlpatterns/type/qanysimpletype_p.h b/src/xmlpatterns/type/qanysimpletype_p.h index 8009c3b87c..a6330520c1 100644 --- a/src/xmlpatterns/type/qanysimpletype_p.h +++ b/src/xmlpatterns/type/qanysimpletype_p.h @@ -73,6 +73,8 @@ namespace QPatternist class AnySimpleType : public AnyType { public: + typedef QExplicitlySharedDataPointer<AnySimpleType> Ptr; + typedef QList<AnySimpleType::Ptr> List; friend class BuiltinTypes; virtual ~AnySimpleType(); @@ -105,6 +107,16 @@ namespace QPatternist */ virtual SchemaType::DerivationMethod derivationMethod() const; + /** + * Always returns @c true. + */ + virtual bool isSimpleType() const; + + /** + * Always returns @c false. + */ + virtual bool isComplexType() const; + protected: AnySimpleType(); |