52 #ifndef Patternist_XsdAttributeUse_H 53 #define Patternist_XsdAttributeUse_H 58 #include <QtCore/QList>
#define QT_END_NAMESPACE
This macro expands to.
void setUseType(UseType type)
void setValue(const QString &value)
The attribute use has a fixed value set.
A base class for all attribute types.
QExplicitlySharedDataPointer< ValueConstraint > Ptr
The attribute is not allowed to be there.
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
The attribute can be there but doesn't need to.
QExplicitlySharedDataPointer< XsdAttributeUse > Ptr
The QString class provides a Unicode character string.
The attribute use has a default value set.
XsdAttribute::Ptr attribute() const
static ValueConstraint::Ptr fromAttributeValueConstraint(const XsdAttribute::ValueConstraint::Ptr &constraint)
void setVariety(Variety variety)
#define QT_BEGIN_NAMESPACE
This macro expands to.
XsdAttribute::Ptr m_attribute
void setValueConstraint(const ValueConstraint::Ptr &constraint)
QList< XsdAttributeUse::Ptr > List
The attribute must be there.
The namespace for the internal API of QtXmlPatterns.
void setAttribute(const XsdAttribute::Ptr &attribute)
QString lexicalForm() const
ValueConstraint::Ptr valueConstraint() const
virtual bool isAttributeUse() const
The QSharedData class is a base class for shared data objects.
Represents a XSD attribute use object.
ValueConstraint::Ptr m_valueConstraint
void setLexicalForm(const QString &form)