A base class for XSD classes that have occurs attributes.  
 More...
#include <Occurs.h>
 | 
| static const unsigned int  | unbounded | 
|   | Identifer for "unbounded" max values.  More...
  | 
|   | 
 | 
| 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. 
- See also
 - All, Any, Choice, Group, LocalElement, Sequence 
 
Definition at line 43 of file Occurs.h.
 
  
  
      
        
          | te::xsd::Occurs::Occurs  | 
          ( | 
          unsigned int  | 
          minOccurs = 1,  | 
         
        
           | 
           | 
          unsigned int  | 
          maxOccurs = 1  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
Constructor. 
- Parameters
 - 
  
    | minOccurs | The minimum number of times the element can occur.  | 
    | maxOccurs | The maximum number of times the element can occur.  | 
  
   
 
 
  
  
      
        
          | te::xsd::Occurs::Occurs  | 
          ( | 
          const Occurs &  | 
          rhs | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Copy constructor. 
- Parameters
 - 
  
    | rhs | Right-hand-side object.  | 
  
   
 
 
  
  
      
        
          | te::xsd::Occurs::~Occurs  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
      
        
          | const unsigned int te::xsd::Occurs::getMaxOccurs  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the maxOccurs values. 
- Returns
 - The maxOccurs value. 
 
 
 
      
        
          | const unsigned int te::xsd::Occurs::getMinOccurs  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the minOccurs values. 
- Returns
 - The minOccurs value. 
 
 
 
Assignment operator. 
- Parameters
 - 
  
    | rhs | Right-hand-side object. | 
  
   
- Returns
 - A reference to this object. 
 
 
 
      
        
          | void te::xsd::Occurs::setMaxOccurs  | 
          ( | 
          unsigned int  | 
          maxOccurs | ) | 
           | 
        
      
 
It sets the maxOccurs value. 
- Parameters
 - 
  
    | maxOccurs | The maxOccurs value. The value can be any number >= 0. | 
  
   
- Note
 - If you want to set no limit on the maximum number, use the value "unbounded" defined as te::xsd::Occurs::unbounded. 
 
 
 
      
        
          | void te::xsd::Occurs::setMinOccurs  | 
          ( | 
          unsigned int  | 
          minOccurs | ) | 
           | 
        
      
 
It sets the minOccurs value. 
- Parameters
 - 
  
    | minOccurs | The minOccurs value. The value can be any number >= 0.  | 
  
   
 
 
  
  
      
        
          | unsigned int te::xsd::Occurs::m_maxOccurs | 
         
       
   | 
  
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.
 
 
  
  
      
        
          | unsigned int te::xsd::Occurs::m_minOccurs | 
         
       
   | 
  
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.
 
 
  
  
      
        
          | const unsigned int te::xsd::Occurs::unbounded | 
         
       
   | 
  
static   | 
  
 
Identifer for "unbounded" max values. 
Definition at line 108 of file Occurs.h.
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/xsd/Occurs.h