Qt 4.8
Public Types | Public Functions | Properties | List of all members
QPatternist::XsdAssertion Class Reference

Represents a XSD assertion object. More...

#include <qxsdassertion_p.h>

Inheritance diagram for QPatternist::XsdAssertion:
QPatternist::NamedSchemaComponent QPatternist::XsdAnnotated QPatternist::SchemaComponent QSharedData

Public Types

typedef QList< XsdAssertion::PtrList
 
typedef QExplicitlySharedDataPointer< XsdAssertionPtr
 
- Public Types inherited from QPatternist::NamedSchemaComponent
enum  BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 }
 
typedef QExplicitlySharedDataPointer< NamedSchemaComponentPtr
 

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
 

Detailed Description

Represents a XSD assertion object.

Author
Tobias Koenig tobia.nosp@m.s.ko.nosp@m.enig@.nosp@m.noki.nosp@m.a.com
See also
Assertion Definition

Definition at line 74 of file qxsdassertion_p.h.

Typedefs

◆ List

Definition at line 78 of file qxsdassertion_p.h.

◆ Ptr

Definition at line 77 of file qxsdassertion_p.h.

Functions

◆ setTest()

void XsdAssertion::setTest ( const XsdXPathExpression::Ptr test)

Sets the test of the assertion.

See also
Test Definition

Definition at line 48 of file qxsdassertion.cpp.

49 {
50  m_test = test;
51 }
XsdXPathExpression::Ptr m_test
XsdXPathExpression::Ptr test() const

◆ test()

XsdXPathExpression::Ptr XsdAssertion::test ( ) const

Returns the test of the assertion.

Definition at line 53 of file qxsdassertion.cpp.

Referenced by setTest().

54 {
55  return m_test;
56 }
XsdXPathExpression::Ptr m_test

Properties

◆ m_test

XsdXPathExpression::Ptr QPatternist::XsdAssertion::m_test
private

Definition at line 93 of file qxsdassertion_p.h.

Referenced by setTest(), and test().


The documentation for this class was generated from the following files: