Go to the documentation of this file.
22 #if !defined(XERCESC_INCLUDE_GUARD_XSPARTICLE_HPP)
23 #define XERCESC_INCLUDE_GUARD_XSPARTICLE_HPP
117 bool getMaxOccursUnbounded()
const;
TERM_TYPE getTermType() const
Returns the type of the [term]: one of TERM_EMPTY, TERM_ELEMENT, TERM_MODELGROUP, or TERM_WILDCARD.
Definition: XSParticle.hpp:191
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
TERM_TYPE
Definition: XSParticle.hpp:46
Definition: XSObject.hpp:43
Definition: XSParticle.hpp:42
Definition: XSModelGroup.hpp:41
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
XMLSize_t fMinOccurs
Definition: XSParticle.hpp:170
@ WILDCARD
The object describes a wildcard.
Definition: XSConstants.hpp:97
TERM_TYPE fTermType
Definition: XSParticle.hpp:169
Definition: XSModel.hpp:60
Definition: XSWildcard.hpp:42
XSWildcard * getWildcardTerm()
If this particle has an [wildcard] for its term, this method returns that declaration; otherwise,...
XSParticle(TERM_TYPE termType, XSModel *const xsModel, XSObject *const particleTerm, XMLSize_t minOccurs, XMLSize_t maxOccurs, bool unbounded, MemoryManager *const manager)
The default constructor.
@ ELEMENT_DECLARATION
The object describes an element declaration.
Definition: XSConstants.hpp:69
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:112
bool fUnbounded
Definition: XSParticle.hpp:172
XSModelGroup * getModelGroupTerm()
If this particle has a [model group] for its term, this method returns that definition; otherwise,...
XMLSize_t getMinOccurs() const
[min occurs]: determines the minimum number of terms that can occur.
Definition: XSParticle.hpp:176
XSObject * fTerm
Definition: XSParticle.hpp:173
XMLSize_t getMaxOccurs() const
[max occurs] determines the maximum number of terms that can occur.
Definition: XSParticle.hpp:181
XSElementDeclaration * getElementTerm()
If this particle has an [element declaration] for its term, this method returns that declaration; oth...
Definition: XSElementDeclaration.hpp:45
Configurable memory manager.
Definition: MemoryManager.hpp:40
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
XMLSize_t fMaxOccurs
Definition: XSParticle.hpp:171
@ MODEL_GROUP_DEFINITION
The object describes a model group definition.
Definition: XSConstants.hpp:85
bool getMaxOccursUnbounded() const
[max occurs] whether the maxOccurs value is unbounded.
Definition: XSParticle.hpp:186