Qt 4.8
|
#include <qxsdelement_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 element.
Definition at line 185 of file qxsdelement_p.h.
Definition at line 188 of file qxsdelement_p.h.
Describes the value constraint of an element.
Enumerator | |
---|---|
Default | The element has a default value set. |
Fixed | The element has a fixed value set. |
Definition at line 193 of file qxsdelement_p.h.
QString XsdElement::ValueConstraint::lexicalForm | ( | ) | const |
Returns the lexical form of the constraint.
Definition at line 93 of file qxsdelement.cpp.
void XsdElement::ValueConstraint::setLexicalForm | ( | const QString & | form | ) |
Sets the lexical form
of the constraint.
Definition at line 88 of file qxsdelement.cpp.
void XsdElement::ValueConstraint::setValue | ( | const QString & | value | ) |
void XsdElement::ValueConstraint::setVariety | ( | Variety | variety | ) |
Sets the variety
of the element value constraint.
Definition at line 68 of file qxsdelement.cpp.
QString XsdElement::ValueConstraint::value | ( | ) | const |
XsdElement::ValueConstraint::Variety XsdElement::ValueConstraint::variety | ( | ) | const |
|
private |
Definition at line 232 of file qxsdelement_p.h.
|
private |
Definition at line 231 of file qxsdelement_p.h.
|
private |
Definition at line 230 of file qxsdelement_p.h.