Qt 4.8
|
Describes the value constraint of an attribute. More...
#include <qxsdattribute_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... | |
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.
Definition at line 143 of file qxsdattribute_p.h.
typedef QExplicitlySharedDataPointer<ValueConstraint> QPatternist::XsdAttribute::ValueConstraint::Ptr |
Definition at line 146 of file qxsdattribute_p.h.
Describes the value constraint of an attribute.
Enumerator | |
---|---|
Default | The attribute has a default value set. |
Fixed | The attribute has a fixed value set. |
Definition at line 151 of file qxsdattribute_p.h.
QString XsdAttribute::ValueConstraint::lexicalForm | ( | ) | const |
Returns the lexical form of the constraint.
Definition at line 95 of file qxsdattribute.cpp.
void XsdAttribute::ValueConstraint::setLexicalForm | ( | const QString & | form | ) |
Sets the lexical form
of the constraint.
Definition at line 90 of file qxsdattribute.cpp.
void XsdAttribute::ValueConstraint::setValue | ( | const QString & | value | ) |
Sets the value
of the constraint.
Definition at line 80 of file qxsdattribute.cpp.
void XsdAttribute::ValueConstraint::setVariety | ( | Variety | variety | ) |
Sets the variety
of the attribute value constraint.
Definition at line 70 of file qxsdattribute.cpp.
QString XsdAttribute::ValueConstraint::value | ( | ) | const |
XsdAttribute::ValueConstraint::Variety XsdAttribute::ValueConstraint::variety | ( | ) | const |
Returns the variety of the attribute value constraint.
Definition at line 75 of file qxsdattribute.cpp.
|
private |
Definition at line 196 of file qxsdattribute_p.h.
|
private |
Definition at line 195 of file qxsdattribute_p.h.
|
private |
Definition at line 194 of file qxsdattribute_p.h.