Qt 4.8
|
Describes the content type of a complex type. More...
#include <qxsdcomplextype_p.h>
Public Types | |
typedef QExplicitlySharedDataPointer< ContentType > | Ptr |
enum | Variety { Empty = 0, Simple, ElementOnly, Mixed } |
Public Functions | |
OpenContent::Ptr | openContent () const |
XsdParticle::Ptr | particle () const |
void | setOpenContent (const OpenContent::Ptr &content) |
void | setParticle (const XsdParticle::Ptr &particle) |
void | setSimpleType (const AnySimpleType::Ptr &type) |
void | setVariety (Variety variety) |
AnySimpleType::Ptr | simpleType () const |
Variety | variety () const |
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 | |
OpenContent::Ptr | m_openContent |
XsdParticle::Ptr | m_particle |
XsdSimpleType::Ptr | m_simpleType |
Variety | m_variety |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Describes the content type of a complex type.
Definition at line 143 of file qxsdcomplextype_p.h.
Definition at line 146 of file qxsdcomplextype_p.h.
Describes the variety of the content type.
Definition at line 151 of file qxsdcomplextype_p.h.
XsdComplexType::OpenContent::Ptr XsdComplexType::ContentType::openContent | ( | ) | const |
Returns the open content object of the content type, or an empty pointer if its variety is neither ElementOnly nor Mixed.
Definition at line 93 of file qxsdcomplextype.cpp.
XsdParticle::Ptr XsdComplexType::ContentType::particle | ( | ) | const |
Returns the particle object of the content type, or an empty pointer if its variety is neither ElementOnly nor Mixed.
Definition at line 83 of file qxsdcomplextype.cpp.
void XsdComplexType::ContentType::setOpenContent | ( | const OpenContent::Ptr & | content | ) |
Sets the open content
object of the content type.
The content type has only an open content object if its variety is ElementOnly or Mixed.
Definition at line 88 of file qxsdcomplextype.cpp.
void XsdComplexType::ContentType::setParticle | ( | const XsdParticle::Ptr & | particle | ) |
Sets the particle
object of the content type.
The content type has only a particle object if its variety is ElementOnly or Mixed.
Definition at line 78 of file qxsdcomplextype.cpp.
void XsdComplexType::ContentType::setSimpleType | ( | const AnySimpleType::Ptr & | type | ) |
Sets the simple type
object of the content type.
The content type has only a simple type object if its variety is Simple.
Definition at line 98 of file qxsdcomplextype.cpp.
void XsdComplexType::ContentType::setVariety | ( | Variety | variety | ) |
Sets the variety
of the content type.
Definition at line 68 of file qxsdcomplextype.cpp.
Referenced by QPatternist::XsdComplexType::XsdComplexType().
AnySimpleType::Ptr XsdComplexType::ContentType::simpleType | ( | ) | const |
Returns the simple type object of the content type, or an empty pointer if its variety is not Simple.
Definition at line 103 of file qxsdcomplextype.cpp.
XsdComplexType::ContentType::Variety XsdComplexType::ContentType::variety | ( | ) | const |
Returns the variety of the content type.
Definition at line 73 of file qxsdcomplextype.cpp.
|
private |
Definition at line 226 of file qxsdcomplextype_p.h.
|
private |
Definition at line 225 of file qxsdcomplextype_p.h.
|
private |
Definition at line 227 of file qxsdcomplextype_p.h.
|
private |
Definition at line 224 of file qxsdcomplextype_p.h.