Qt 4.8
|
A base class for all user defined simple and complex types. More...
#include <qxsduserschematype_p.h>
Public Types | |
typedef QExplicitlySharedDataPointer< XsdUserSchemaType > | Ptr |
Public Types inherited from QPatternist::NamedSchemaComponent | |
enum | BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 } |
typedef QExplicitlySharedDataPointer< NamedSchemaComponent > | Ptr |
Public Functions | |
SchemaType::DerivationConstraints | derivationConstraints () const |
virtual QString | displayName (const NamePool::Ptr &namePool) const |
virtual QXmlName | name (const NamePool::Ptr &namePool) const |
void | setDerivationConstraints (const SchemaType::DerivationConstraints &constraints) |
void | setName (const QXmlName &name) |
Public Functions inherited from QPatternist::NamedSchemaComponent | |
NamedSchemaComponent () | |
void | setName (const QXmlName &name) |
virtual | ~NamedSchemaComponent () |
Public Functions inherited from QPatternist::SchemaComponent | |
SchemaComponent () | |
virtual | ~SchemaComponent () |
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... | |
Public Functions inherited from QPatternist::XsdAnnotated | |
void | addAnnotation (const XsdAnnotation::Ptr &annotation) |
void | addAnnotations (const XsdAnnotation::List &annotations) |
XsdAnnotation::List | annotations () const |
Properties | |
SchemaType::DerivationConstraints | m_derivationConstraints |
QXmlName | m_name |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
A base class for all user defined simple and complex types.
This class was introduced to combine the SchemaType class and the NamedSchemaComponent class without explicit inheritance.
Definition at line 78 of file qxsduserschematype_p.h.
typedef QExplicitlySharedDataPointer<XsdUserSchemaType> QPatternist::XsdUserSchemaType< TSuperClass >::Ptr |
Definition at line 81 of file qxsduserschematype_p.h.
SchemaType::DerivationConstraints QPatternist::XsdUserSchemaType< TSuperClass >::derivationConstraints | ( | ) | const |
Returns the derivation constraints of the type.
Definition at line 72 of file qxsduserschematype.cpp.
Referenced by QPatternist::XsdSchemaChecker::checkSimpleDerivationRestrictions(), and QPatternist::XsdSchemaChecker::checkSimpleTypeConstraints().
|
virtual |
Returns the display name of the type.
namePool | The pool the name belongs to. |
Reimplemented from QPatternist::NamedSchemaComponent.
Reimplemented in QPatternist::XsdComplexType, and QPatternist::XsdSimpleType.
Definition at line 60 of file qxsduserschematype.cpp.
|
virtual |
Returns the name of the type.
namePool | The pool the name belongs to. |
Reimplemented from QPatternist::NamedSchemaComponent.
Definition at line 54 of file qxsduserschematype.cpp.
Referenced by QPatternist::XsdSchemaChecker::checkBasicSimpleTypeConstraints(), QPatternist::XsdSchemaChecker::checkSimpleDerivationRestrictions(), QPatternist::XsdSchemaChecker::checkSimpleTypeConstraints(), and QPatternist::XsdSchemaParser::parseRedefine().
void QPatternist::XsdUserSchemaType< TSuperClass >::setDerivationConstraints | ( | const SchemaType::DerivationConstraints & | constraints | ) |
Sets the derivation constraints
of the type.
Definition at line 66 of file qxsduserschematype.cpp.
Referenced by QPatternist::XsdSchemaParser::parseGlobalComplexType(), and QPatternist::XsdSchemaParser::parseGlobalSimpleType().
void QPatternist::XsdUserSchemaType< TSuperClass >::setName | ( | const QXmlName & | name | ) |
Sets the name
of the type.
Definition at line 48 of file qxsduserschematype.cpp.
Referenced by QPatternist::XsdValidatingInstanceReader::anyType(), QPatternist::XsdSchemaParser::parseGlobalComplexType(), QPatternist::XsdSchemaParser::parseGlobalSimpleType(), QPatternist::XsdSchemaParser::parseLocalComplexType(), QPatternist::XsdSchemaParser::parseLocalSimpleType(), QPatternist::XsdSchemaParser::parseRedefine(), and QPatternist::XsdSchemaTypesFactory::XsdSchemaTypesFactory().
|
private |
Definition at line 114 of file qxsduserschematype_p.h.
|
private |
Definition at line 113 of file qxsduserschematype_p.h.