This restriction class defines restrictions on a simpleContent.  
 More...
#include <Restriction4SimpleContent.h>
This restriction class defines restrictions on a simpleContent. 
Definition at line 54 of file Restriction4SimpleContent.h.
 
      
        
          | te::xsd::Restriction4SimpleContent::Restriction4SimpleContent  | 
          ( | 
          std::string *  | 
          id,  | 
        
        
           | 
           | 
          QName *  | 
          base  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | id | It specifies a unique ID for the element. It can be a NULL value.  | 
    | base | The name of a built-in data type simpleType element defined in a schema. It can not be a NULL value. | 
  
   
- Note
 - The Restriction4SimpleContent object will take the ownership of the given pointers. 
 
 
 
Copy constructor. 
- Parameters
 - 
  
    | rhs | Right-hand-side object. | 
  
   
 
 
      
        
          | te::xsd::Restriction4SimpleContent::~Restriction4SimpleContent  | 
          ( | 
           | ) | 
           | 
        
      
 
 
It adds an attribute to this restriction. 
- Parameters
 - 
  
    | a | The attribute that will be added. | 
  
   
- Note
 - The Restriction4SimpleContent object will take the ownership of the given pointer. 
 
 
 
      
        
          | void te::xsd::Restriction4SimpleContent::addFacet  | 
          ( | 
          FacetType  | 
          fType,  | 
        
        
           | 
           | 
          const std::string &  | 
          value  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Adds a new facet to this restriction. 
- Parameters
 - 
  
    | fType | The facet type.  | 
    | value | The facet associated value.  | 
  
   
 
 
      
        
          | void te::xsd::Restriction4SimpleContent::addFacet  | 
          ( | 
          Facet *  | 
          f | ) | 
           | 
        
      
 
Adds a new facet to this restriction. 
- Parameters
 - 
  
    | f | The facet that will be added. | 
  
   
- Note
 - The Restriction4SimpleContent object will take the ownership of the given pointer. 
 
 
 
  
  
      
        
          | Annotation* te::xsd::Annotated::getAnnotation  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
It returns the associated annotation. 
- Returns
 - The associated annotation. 
 
 
 
      
        
          | AnyAttribute* te::xsd::Restriction4SimpleContent::getAnyAttribute  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the anyAttribute defined on this restriction. 
- Returns
 - The anyAttribute. 
 
 
 
      
        
          | const boost::ptr_vector<AbstractAttribute>& te::xsd::Restriction4SimpleContent::getAttributes  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the list of attributes of this restriction. 
- Returns
 - The list of attributes of this restriction. 
 
 
 
      
        
          | QName* te::xsd::Restriction4SimpleContent::getBase  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the name of a built-in data type, simple type or complex type that will be restricted. 
- Returns
 - The name of a built-in data type, simple type or complex type that will be restricted. 
 
 
 
      
        
          | const boost::ptr_vector<Facet>& te::xsd::Restriction4SimpleContent::getFacets  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the list of facets defined on this restriction. 
- Returns
 - The list of facets defined on this restriction. 
 
 
 
  
  
      
        
          | std::string* te::xsd::Identifiable::getId  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
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::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::Restriction4SimpleContent::setAnyAttribute  | 
          ( | 
          AnyAttribute *  | 
          a | ) | 
           | 
        
      
 
It sets the anyAttribute to this restriction. 
- Parameters
 - 
  
    | a | It specifies the anyAttribute. | 
  
   
- Note
 - The Restriction4SimpleContent object will take the ownership of the given pointer. 
 
 
 
      
        
          | void te::xsd::Restriction4SimpleContent::setBase  | 
          ( | 
          QName *  | 
          base | ) | 
           | 
        
      
 
It sets the name of a built-in data type, simple type or complex type that will be restricted. 
- Parameters
 - 
  
    | base | The name of a built-in data type, simple type or complex type that will be restricted. | 
  
   
- Note
 - The Restriction4SimpleContent object 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::Restriction4SimpleContent::setSimpleType  | 
          ( | 
          SimpleType *  | 
          simpleType | ) | 
           | 
        
      
 
It sets the restriction internal simple type. 
- Parameters
 - 
  
    | simpleType | The restriction internal simple type. | 
  
   
- Note
 - The Restriction4SimpleContent object will take the ownership of the given pointer. 
 
 
 
  
  
      
        
          | boost::ptr_vector<AbstractAttribute> te::xsd::Restriction4SimpleContent::m_attributeVec | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | QName* te::xsd::Restriction4SimpleContent::m_base | 
         
       
   | 
  
private   | 
  
 
It specifies the name of a built-in data type, simpleType element or complexType element defined in this schema or another schema. (Required) 
Definition at line 177 of file Restriction4SimpleContent.h.
 
 
  
  
      
        
          | boost::ptr_vector<Facet> te::xsd::Restriction4SimpleContent::m_facetVec | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | SimpleType* te::xsd::Restriction4SimpleContent::m_simpleType | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: