Qt 4.8
|
Represents a XSD assertion object. More...
#include <qxsdassertion_p.h>
Public Types | |
typedef QList< XsdAssertion::Ptr > | List |
typedef QExplicitlySharedDataPointer< XsdAssertion > | Ptr |
Public Types inherited from QPatternist::NamedSchemaComponent | |
enum | BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 } |
typedef QExplicitlySharedDataPointer< NamedSchemaComponent > | Ptr |
Public Functions | |
void | setTest (const XsdXPathExpression::Ptr &test) |
XsdXPathExpression::Ptr | test () const |
Public Functions inherited from QPatternist::NamedSchemaComponent | |
virtual QString | displayName (const NamePool::Ptr &namePool) const |
virtual QXmlName | name (const NamePool::Ptr &namePool) const |
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 | |
XsdXPathExpression::Ptr | m_test |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Represents a XSD assertion object.
Definition at line 74 of file qxsdassertion_p.h.
Definition at line 78 of file qxsdassertion_p.h.
Definition at line 77 of file qxsdassertion_p.h.
void XsdAssertion::setTest | ( | const XsdXPathExpression::Ptr & | test | ) |
Sets the test
of the assertion.
Definition at line 48 of file qxsdassertion.cpp.
XsdXPathExpression::Ptr XsdAssertion::test | ( | ) | const |
Returns the test of the assertion.
Definition at line 53 of file qxsdassertion.cpp.
Referenced by setTest().
|
private |
Definition at line 93 of file qxsdassertion_p.h.