This class models a key element from an XML Schema.  
 More...
#include <Key.h>
This class models a key element from an XML Schema. 
- Note
 - Parent elements: element. 
 
Definition at line 43 of file Key.h.
 
      
        
          | te::xsd::Key::Key  | 
          ( | 
          std::string *  | 
          name,  | 
        
        
           | 
           | 
          Annotation *  | 
          ann = 0,  | 
        
        
           | 
           | 
          std::string *  | 
          id = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | id | It specifies a unique ID for the element. It may be a NULL value.  | 
    | name | It specifies the name of the key element. It is required a non-NULL value. | 
  
   
- Note
 - The Key object will take the ownership of the id and name pointers. 
 
Definition at line 29 of file Key.cpp.
 
 
      
        
          | te::xsd::Key::Key  | 
          ( | 
          const Key &  | 
          rhs | ) | 
           | 
        
      
 
Copy constructor. 
- Parameters
 - 
  
    | rhs | Right-hand-side object. | 
  
   
Definition at line 34 of file Key.cpp.
 
 
Destructor. 
Definition at line 39 of file Key.cpp.
 
 
  
  
      
        
          | void te::xsd::IdentityConstraint::addField  | 
          ( | 
          Field *  | 
          f | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
  
  
      
        
          | const boost::ptr_vector< te::xsd::Field > & te::xsd::IdentityConstraint::getFields  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the list of Fields elements of this element. 
- Returns
 - The list of Fields. 
 
Definition at line 67 of file IdentityConstraint.cpp.
 
 
  
  
      
        
          | std::string * te::xsd::Identifiable::getId  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns a pointer (may be NULL) to the object id. 
Definition at line 35 of file Identifiable.cpp.
 
 
      
        
          | std::string * te::xsd::Key::getName  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the key name. 
- Returns
 - The key name. 
 
Definition at line 54 of file Key.cpp.
 
 
Assignment operator. 
- Parameters
 - 
  
    | rhs | Right-hand-side object. | 
  
   
- Returns
 - A reference to this object.
 
Definition at line 44 of file Key.cpp.
 
 
  
  
      
        
          | 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.  | 
  
   
Definition at line 35 of file Annotated.cpp.
Referenced by te::xsd::serialize::ReadAnnotated().
 
 
  
  
      
        
          | void te::xsd::Identifiable::setId  | 
          ( | 
          std::string *  | 
          id | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
      
        
          | void te::xsd::Key::setName  | 
          ( | 
          std::string *  | 
          name | ) | 
           | 
        
      
 
It sets the key name. 
- Parameters
 - 
  
  
 
- Note
 - The key will take the ownership of the given name. 
 
Definition at line 59 of file Key.cpp.
 
 
  
  
      
        
          | void te::xsd::IdentityConstraint::setSelector  | 
          ( | 
          Selector *  | 
          s | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
  
  
      
        
          | boost::ptr_vector<Field> te::xsd::IdentityConstraint::m_fieldVec | 
         
       
   | 
  
protectedinherited   | 
  
 
 
  
  
      
        
          | std::string* te::xsd::IdentityConstraint::m_name | 
         
       
   | 
  
protectedinherited   | 
  
 
 
  
  
      
        
          | Selector* te::xsd::IdentityConstraint::m_selector | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this class was generated from the following files:
- C:/BB_TL5/terralib5/src/terralib/xsd/Key.h
 
- C:/BB_TL5/terralib5/src/terralib/xsd/Key.cpp