It is used to define a simple type element as a list of values.  
 More...
#include <List.h>
 | 
| SimpleType *  | m_internalSimpleType | 
|   | Used when the list has an internal simple type. (Optional if m_itemType is present)  More...
  | 
|   | 
| QName *  | m_itemType | 
|   | It specifies the name of a built-in data type or simpleType element defined in this or another schema. This attribute is not allowed if the content contains a simpleType element, otherwise it is required.  More...
  | 
|   | 
It is used to define a simple type element as a list of values. 
Definition at line 45 of file List.h.
 
      
        
          | te::xsd::List::List  | 
          ( | 
          Annotation *  | 
          ann = 0,  | 
        
        
           | 
           | 
          std::string *  | 
          id = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | ann | An annotation.  | 
    | id | It specifies a unique ID for the element. | 
  
   
- Note
 - The List object will take the ownership of the annotation and id. 
 
 
 
      
        
          | te::xsd::List::List  | 
          ( | 
          const List &  | 
          rhs | ) | 
           | 
        
      
 
Copy constructor. 
- Parameters
 - 
  
    | rhs | Right-hand-side object.  | 
  
   
 
 
It creates a clone of the object. 
- Returns
 - A clone of the object. The caller will take the ownership of the returned pointer. 
 
Implements te::xsd::SimpleTypeConstructor.
 
 
  
  
      
        
          | Annotation* te::xsd::Annotated::getAnnotation  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the associated annotation. 
- Returns
 - The associated annotation. 
 
 
 
  
  
      
        
          | std::string* te::xsd::Identifiable::getId  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns a pointer (may be NULL) to the object id. 
 
 
      
        
          | QName* te::xsd::List::getItemType  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns name of a built-in data type or simpleType element defined in this or another schema. 
- Returns
 - The name of a built-in data type or simpleType element defined in this or another schema. 
 
 
 
      
        
          | SimpleType* te::xsd::List::getSimpleType  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns list internal simple type. 
- Returns
 - The list internal simple type. 
 
 
 
      
        
          | List& te::xsd::List::operator=  | 
          ( | 
          const List &  | 
          rhs | ) | 
           | 
        
      
 
Assignment operator. 
- Parameters
 - 
  
    | rhs | Right-hand-side object. | 
  
   
- Returns
 - A reference to this object. 
 
 
 
  
  
      
        
          | void te::xsd::Annotated::setAnnotation  | 
          ( | 
          Annotation *  | 
          ann | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
It sets the associated annotation. 
- Parameters
 - 
  
    | ann | The annotation to be associated to the object. The annotated class will take the ownership of the given pointer.  | 
  
   
 
 
  
  
      
        
          | void te::xsd::Identifiable::setId  | 
          ( | 
          std::string *  | 
          id | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
it sets the id. 
- Parameters
 - 
  
    | id | The id to be associated to the object. It will take the ownership of the given string.  | 
  
   
 
 
      
        
          | void te::xsd::List::setItemType  | 
          ( | 
          QName *  | 
          name | ) | 
           | 
        
      
 
It sets the name of a built-in data type or simpleType element defined in this or another schema. 
- Parameters
 - 
  
    | name | The name of a built-in data type or simpleType element defined in this or another schema. | 
  
   
- Note
 - Setting a reference will turn to NULL the internal simpleType. 
 
- 
The List object will take the ownership of the given pointer. 
 
 
 
      
        
          | void te::xsd::List::setSimpleType  | 
          ( | 
          SimpleType *  | 
          a | ) | 
           | 
        
      
 
It sets the list internal simple type. 
- Parameters
 - 
  
    | a | The list internal simple type. | 
  
   
- Note
 - Setting a reference will turn to NULL the itemType. 
 
- 
The List object will take the ownership of the given pointer. 
 
 
 
Used when the list has an internal simple type. (Optional if m_itemType is present) 
Definition at line 117 of file List.h.
 
 
  
  
      
        
          | QName* te::xsd::List::m_itemType | 
         
       
   | 
  
private   | 
  
 
It specifies the name of a built-in data type or simpleType element defined in this or another schema. This attribute is not allowed if the content contains a simpleType element, otherwise it is required. 
Definition at line 116 of file List.h.
 
 
The documentation for this class was generated from the following file:
- C:/CC_master/terralib5/src/terralib/xsd/List.h