#ifndef GROUP_H #define GROUP_H #include #include #include #include #include namespace XSD { class SCHEMA_EXPORT Group : public XmlElement { public: typedef QList List; Group(); Group(const Group &other); Group(Group &&other); ~Group() override; Group &operator=(const Group &other); Group &operator=(Group &&other) noexcept; void setReference(const QName &reference); QName reference() const; void setElements(const Element::List &elements); Element::List elements() const; bool isResolved() const; bool operator==(const Group &other) const; inline bool operator!=(const Group &other) const { return !(*this == other); } private: class Private; std::unique_ptr d; }; } SCHEMA_EXPORT QDebug operator<<(QDebug dbg, const XSD::Group &group); #endif // GROUP_H