Qt 4.8
|
#include <qxsdattributeuse_p.h>
Public Types | |
typedef QExplicitlySharedDataPointer< ValueConstraint > | Ptr |
enum | Variety { Default, Fixed } |
Public Functions | |
QString | lexicalForm () const |
void | setLexicalForm (const QString &form) |
void | setValue (const QString &value) |
void | setVariety (Variety variety) |
QString | value () const |
Variety | variety () const |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Static Public Functions | |
static ValueConstraint::Ptr | fromAttributeValueConstraint (const XsdAttribute::ValueConstraint::Ptr &constraint) |
Properties | |
QString | m_lexicalForm |
QString | m_value |
Variety | m_variety |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Describes the value constraint of an attribute use.
Definition at line 92 of file qxsdattributeuse_p.h.
typedef QExplicitlySharedDataPointer<ValueConstraint> QPatternist::XsdAttributeUse::ValueConstraint::Ptr |
Definition at line 95 of file qxsdattributeuse_p.h.
Describes the value constraint of an attribute use.
Enumerator | |
---|---|
Default | The attribute use has a default value set. |
Fixed | The attribute use has a fixed value set. |
Definition at line 100 of file qxsdattributeuse_p.h.
|
static |
Creates a new value constraint from a XsdAttribute::ValueConstraint.
Definition at line 78 of file qxsdattributeuse.cpp.
Referenced by QPatternist::XsdSchemaHelper::isValidAttributeUsesRestriction(), and QPatternist::XsdSchemaResolver::resolveAttributeTermReferences().
QString XsdAttributeUse::ValueConstraint::lexicalForm | ( | ) | const |
Returns the lexical form of the constraint.
Definition at line 73 of file qxsdattributeuse.cpp.
void XsdAttributeUse::ValueConstraint::setLexicalForm | ( | const QString & | form | ) |
Sets the lexical form
of the constraint.
Definition at line 68 of file qxsdattributeuse.cpp.
void XsdAttributeUse::ValueConstraint::setValue | ( | const QString & | value | ) |
Sets the value
of the constraint.
Definition at line 58 of file qxsdattributeuse.cpp.
void XsdAttributeUse::ValueConstraint::setVariety | ( | Variety | variety | ) |
Sets the variety
of the attribute use value constraint.
Definition at line 48 of file qxsdattributeuse.cpp.
QString XsdAttributeUse::ValueConstraint::value | ( | ) | const |
Returns the value of the constraint.
Definition at line 63 of file qxsdattributeuse.cpp.
Referenced by setValue().
XsdAttributeUse::ValueConstraint::Variety XsdAttributeUse::ValueConstraint::variety | ( | ) | const |
Returns the variety of the attribute use value constraint.
Definition at line 53 of file qxsdattributeuse.cpp.
Referenced by setVariety().
|
private |
Definition at line 144 of file qxsdattributeuse_p.h.
Referenced by lexicalForm(), and setLexicalForm().
|
private |
Definition at line 143 of file qxsdattributeuse_p.h.
Referenced by setValue(), and value().
|
private |
Definition at line 142 of file qxsdattributeuse_p.h.
Referenced by setVariety(), and variety().