![]() |
Qt 4.8
|
#include <qxsdelement_p.h>
Public Types | |
| typedef QExplicitlySharedDataPointer< Scope > | Ptr |
| enum | Variety { Global, Local } |
Public Functions | |
| NamedSchemaComponent::Ptr | parent () const |
| void | setParent (const NamedSchemaComponent::Ptr &parent) |
| void | setVariety (Variety variety) |
| 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 | |
| NamedSchemaComponent * | m_parent |
| Variety | m_variety |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
| QAtomicInt | ref |
Describes the scope of an element.
Definition at line 105 of file qxsdelement_p.h.
Definition at line 108 of file qxsdelement_p.h.
Describes the scope of an attribute.
| Enumerator | |
|---|---|
| Global | The element is defined globally as child of the schema object. |
| Local | The element is defined locally as child of a complex type or model group definition. |
Definition at line 113 of file qxsdelement_p.h.
| NamedSchemaComponent::Ptr XsdElement::Scope::parent | ( | ) | const |
Returns the parent complex type or model group definition of the element scope.
Definition at line 63 of file qxsdelement.cpp.
| void XsdElement::Scope::setParent | ( | const NamedSchemaComponent::Ptr & | parent | ) |
Sets the parent complex type or model group definition of the element scope.
Definition at line 58 of file qxsdelement.cpp.
| void XsdElement::Scope::setVariety | ( | Variety | variety | ) |
| XsdElement::Scope::Variety XsdElement::Scope::variety | ( | ) | const |
Returns the variety of the element scope.
Definition at line 53 of file qxsdelement.cpp.
Referenced by setVariety(), and QPatternist::XsdElement::ValueConstraint::setVariety().
|
private |
Definition at line 141 of file qxsdelement_p.h.
Referenced by parent(), and setParent().
|
private |
Definition at line 140 of file qxsdelement_p.h.
Referenced by setVariety(), QPatternist::XsdElement::ValueConstraint::setVariety(), variety(), and QPatternist::XsdElement::ValueConstraint::variety().