A base class for XSD classes that have occurs attributes. More...
#include <Occurs.h>
  
 Public Member Functions | |
| const unsigned int | getMaxOccurs () const | 
| It returns the maxOccurs values.  More... | |
| const unsigned int | getMinOccurs () const | 
| It returns the minOccurs values.  More... | |
| void | setMaxOccurs (unsigned int maxOccurs) | 
| It sets the maxOccurs value.  More... | |
| void | setMinOccurs (unsigned int minOccurs) | 
| It sets the minOccurs value.  More... | |
Static Public Attributes | |
| static const unsigned int | unbounded = std::numeric_limits<unsigned int>::max() | 
| Identifer for "unbounded" max values.  More... | |
Protected Member Functions | |
| Occurs (unsigned int minOccurs=1, unsigned int maxOccurs=1) | |
| Constructor.  More... | |
| Occurs (const Occurs &rhs) | |
| Copy constructor.  More... | |
| Occurs & | operator= (const Occurs &rhs) | 
| Assignment operator.  More... | |
| ~Occurs () | |
| Destructor.  More... | |
Protected Attributes | |
| 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)  More... | |
| 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)  More... | |
A base class for XSD classes that have occurs attributes.
      
  | 
  protected | 
Constructor.
| minOccurs | The minimum number of times the element can occur. | 
| maxOccurs | The maximum number of times the element can occur. | 
Definition at line 55 of file Occurs.cpp.
      
  | 
  protected | 
      
  | 
  protected | 
Destructor.
Definition at line 67 of file Occurs.cpp.
| const unsigned int te::xsd::Occurs::getMaxOccurs | ( | ) | const | 
It returns the maxOccurs values.
Definition at line 40 of file Occurs.cpp.
| const unsigned int te::xsd::Occurs::getMinOccurs | ( | ) | const | 
It returns the minOccurs values.
Definition at line 35 of file Occurs.cpp.
References m_minOccurs.
      
  | 
  protected | 
Assignment operator.
| rhs | Right-hand-side object. | 
Definition at line 71 of file Occurs.cpp.
References m_maxOccurs, and m_minOccurs.
Referenced by te::xsd::Any::operator=(), te::xsd::All::operator=(), and te::xsd::Choice::operator=().
| void te::xsd::Occurs::setMaxOccurs | ( | unsigned int | maxOccurs | ) | 
It sets the maxOccurs value.
| maxOccurs | The maxOccurs value. The value can be any number >= 0. | 
Definition at line 50 of file Occurs.cpp.
Referenced by te::xsd::serialize::ReadOccurs().
| void te::xsd::Occurs::setMinOccurs | ( | unsigned int | minOccurs | ) | 
It sets the minOccurs value.
| minOccurs | The minOccurs value. The value can be any number >= 0. | 
Definition at line 45 of file Occurs.cpp.
Referenced by te::xsd::serialize::ReadOccurs().
      
  | 
  protected | 
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)
Definition at line 113 of file Occurs.h.
Referenced by operator=().
      
  | 
  protected | 
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)
Definition at line 112 of file Occurs.h.
Referenced by getMinOccurs(), and operator=().
      
  | 
  static | 
Identifer for "unbounded" max values.
Definition at line 108 of file Occurs.h.
Referenced by te::xsd::serialize::ReadOccurs().