Qt 4.8
|
#include <qgenericsequencetype_p.h>
Public Functions | |
virtual Cardinality | cardinality () const |
virtual QString | displayName (const NamePool::Ptr &np) const |
GenericSequenceType (const ItemType::Ptr &itemType, const Cardinality &card) | |
virtual ItemType::Ptr | itemType () const |
Public Functions inherited from QPatternist::SequenceType | |
bool | is (const SequenceType::Ptr &other) const |
bool | matches (const SequenceType::Ptr other) const |
SequenceType () | |
virtual | ~SequenceType () |
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 | |
const Cardinality | m_cardinality |
const ItemType::Ptr | m_itemType |
Related Functions | |
(Note that these are not member functions.) | |
static SequenceType::Ptr | makeGenericSequenceType (const ItemType::Ptr &itemType, const Cardinality &cardinality) |
An object generator for GenericSequenceType. More... | |
Additional Inherited Members | |
Public Types inherited from QPatternist::SequenceType | |
typedef QList< SequenceType::Ptr > | List |
typedef QExplicitlySharedDataPointer< const SequenceType > | Ptr |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Definition at line 70 of file qgenericsequencetype_p.h.
GenericSequenceType::GenericSequenceType | ( | const ItemType::Ptr & | itemType, |
const Cardinality & | card | ||
) |
Definition at line 50 of file qgenericsequencetype.cpp.
Referenced by makeGenericSequenceType().
|
virtual |
Implements QPatternist::SequenceType.
Definition at line 62 of file qgenericsequencetype.cpp.
|
virtual |
Generates a name for the sequence type for display purposes. The prefix used for the QName identifying the schema type is conventional. An example of a display name for a GenericSequenceType is "xs:integer?".
Implements QPatternist::SequenceType.
Definition at line 57 of file qgenericsequencetype.cpp.
|
virtual |
Implements QPatternist::SequenceType.
Definition at line 67 of file qgenericsequencetype.cpp.
|
related |
An object generator for GenericSequenceType.
makeGenericSequenceType() is a convenience function for avoiding invoking the new
operator, and wrapping the result in GenericSequenceType::Ptr.
itemType
and cardinality
. Definition at line 101 of file qgenericsequencetype_p.h.
|
private |
Definition at line 88 of file qgenericsequencetype_p.h.
Referenced by cardinality(), and displayName().
|
private |
Definition at line 87 of file qgenericsequencetype_p.h.
Referenced by displayName(), GenericSequenceType(), and itemType().