A base class for XSD classes that must provide a unique ID property.  
 More...
#include <Identifiable.h>
 | 
| std::string *  | getId () const  | 
|   | It returns a pointer (may be NULL) to the object id.  More...
  | 
|   | 
| void  | setId (std::string *id) | 
|   | it sets the id.  More...
  | 
|   | 
 | 
| std::string *  | m_id | 
|   | It specifies a unique identifier for the element. (Optional)  More...
  | 
|   | 
A base class for XSD classes that must provide a unique ID property. 
- See also
 - Annotation, Attribute, Schema 
 
Definition at line 46 of file Identifiable.h.
 
  
  
      
        
          | te::xsd::Identifiable::Identifiable  | 
          ( | 
          std::string *  | 
          id = 0 | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Constructor. 
- Parameters
 - 
  
    | id | The unique ID for the XSD element. | 
  
   
- Note
 - The Identifiable object will take the ownership of the informed pointer. 
 
 
 
  
  
      
        
          | te::xsd::Identifiable::Identifiable  | 
          ( | 
          const Identifiable &  | 
          rhs | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Copy constructor. 
- Parameters
 - 
  
    | rhs | Right-hand-side object.  | 
  
   
 
 
  
  
      
        
          | te::xsd::Identifiable::~Identifiable  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Protected non-virtual destructor. 
 
 
      
        
          | std::string* te::xsd::Identifiable::getId  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns a pointer (may be NULL) to the object id. 
 
 
Assignment operator. 
- Parameters
 - 
  
    | rhs | Right-hand-side object. | 
  
   
- Returns
 - A reference to this object. 
 
 
 
      
        
          | void te::xsd::Identifiable::setId  | 
          ( | 
          std::string *  | 
          id | ) | 
           | 
        
      
 
it sets the id. 
- Parameters
 - 
  
    | id | The id to be associated to the object. It will take the ownership of the given string.  | 
  
   
 
 
  
  
      
        
          | std::string* te::xsd::Identifiable::m_id | 
         
       
   | 
  
private   | 
  
 
It specifies a unique identifier for the element. (Optional) 
Definition at line 92 of file Identifiable.h.
 
 
The documentation for this class was generated from the following file: