It models a XML Schema import.  
 More...
#include <Import.h>
 | 
| std::string *  | m_namespace | 
|   | It specifies the URI of the namespace to import. (Optional)  More...
  | 
|   | 
| std::string *  | m_schemaLocation | 
|   | It specifies the URI to the schema for the imported namespace. (Optional)  More...
  | 
|   | 
It models a XML Schema import. 
- See also
 - Annotated, Identifiable 
 
Definition at line 47 of file Import.h.
 
      
        
          | te::xsd::Import::Import  | 
          ( | 
          std::string *  | 
          ns,  | 
        
        
           | 
           | 
          std::string *  | 
          schemaLocation,  | 
        
        
           | 
           | 
          Annotation *  | 
          ann = 0,  | 
        
        
           | 
           | 
          std::string *  | 
          id = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | id | It specifies a unique ID for the element. It can be a NULL value.  | 
    | ns | The URI of the namespace to import.  | 
    | schemaLocation | The URI to the schema for the imported namespace.  | 
  
   
 
 
      
        
          | te::xsd::Import::Import  | 
          ( | 
          const Import &  | 
          rhs | ) | 
           | 
        
      
 
Copy constructor. 
- Parameters
 - 
  
    | rhs | Right-hand-side object. | 
  
   
 
 
      
        
          | te::xsd::Import::~Import  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | 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. 
 
 
      
        
          | std::string* te::xsd::Import::getNamespace  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the namespace URI of the imported schema. 
- Returns
 - The namespace URI. 
 
 
 
      
        
          | std::string* te::xsd::Import::getSchemaLocation  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the location of the referenced schema. 
- Returns
 - The schema location. 
 
 
 
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::Import::setNamespace  | 
          ( | 
          std::string *  | 
          ns | ) | 
           | 
        
      
 
It sets the namespace URI of the imported schema. 
- Parameters
 - 
  
  
 
- Note
 - The Import object will take the ownership of the given pointer. 
 
 
 
      
        
          | void te::xsd::Import::setSchemaLocation  | 
          ( | 
          std::string *  | 
          schemaLocation | ) | 
           | 
        
      
 
It sets the location of the referenced schema. 
- Parameters
 - 
  
    | schemaLocation | A schema location. | 
  
   
- Note
 - The Import object will take the ownership of the given pointer. 
 
 
 
  
  
      
        
          | std::string* te::xsd::Import::m_namespace | 
         
       
   | 
  
private   | 
  
 
It specifies the URI of the namespace to import. (Optional) 
Definition at line 117 of file Import.h.
 
 
  
  
      
        
          | std::string* te::xsd::Import::m_schemaLocation | 
         
       
   | 
  
private   | 
  
 
It specifies the URI to the schema for the imported namespace. (Optional) 
Definition at line 118 of file Import.h.
 
 
The documentation for this class was generated from the following file:
- C:/CC_master/terralib5/src/terralib/xsd/Import.h