Qt 4.8
|
A base class for all attribute types. More...
#include <qxsdattributeterm_p.h>
Public Types | |
typedef QExplicitlySharedDataPointer< XsdAttributeTerm > | Ptr |
Public Types inherited from QPatternist::NamedSchemaComponent | |
enum | BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 } |
typedef QExplicitlySharedDataPointer< NamedSchemaComponent > | Ptr |
Public Functions | |
virtual bool | isAttributeUse () const |
virtual bool | isReference () 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 |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
A base class for all attribute types.
For easy resolving of attribute references, we use this as common base class for XsdAttribute and XsdAttributeReference.
Definition at line 73 of file qxsdattributeterm_p.h.
Definition at line 76 of file qxsdattributeterm_p.h.
|
virtual |
Returns true
if the term is an attribute use, false
otherwise.
Reimplemented in QPatternist::XsdAttributeUse, and QPatternist::XsdAttributeReference.
Definition at line 48 of file qxsdattributeterm.cpp.
|
virtual |
Returns true
if the term is an attribute use reference, false
otherwise.
Reimplemented in QPatternist::XsdAttributeReference.
Definition at line 53 of file qxsdattributeterm.cpp.