47 m_minOccurs = minOccurs;
52 m_maxOccurs = maxOccurs;
56 : m_minOccurs(minOccurs),
57 m_maxOccurs(maxOccurs)
62 : m_minOccurs(rhs.m_minOccurs),
63 m_maxOccurs(rhs.m_maxOccurs)
const unsigned int getMaxOccurs() const
It returns the maxOccurs values.
static const unsigned int unbounded
Identifer for "unbounded" max values.
A base class for XSD classes that have occurs attributes.
void setMinOccurs(unsigned int minOccurs)
It sets the minOccurs value.
void setMaxOccurs(unsigned int maxOccurs)
It sets the maxOccurs value.
const unsigned int getMinOccurs() const
It returns the minOccurs values.
unsigned int m_maxOccurs
It specifies the maximum number of times the any element can occur in the parent element. The value can be any number >= 0, or if you want to set no limit on the maximum number, use the value "unbounded". Default value is 1. (Optional)
A base class for XSD classes that have occurs attributes.
Occurs(unsigned int minOccurs=1, unsigned int maxOccurs=1)
Constructor.
unsigned int m_minOccurs
It specifies the minimum number of times the any element can occur in the parent element. The value can be any number >= 0. Default value is 1. (Optional)
Occurs & operator=(const Occurs &rhs)
Assignment operator.