The restriction class can be used to define restrictions on a complexContent. More...
#include <Restriction4ComplexContent.h>
  
 Public Member Functions | |
| void | addAttribute (AbstractAttribute *a) | 
| It adds an attribute to this restriction.  More... | |
| TypeDerivation * | clone () const | 
| Annotation * | getAnnotation () const | 
| It returns the associated annotation.  More... | |
| AnyAttribute * | getAnyAttribute () const | 
| It returns the anyAttribute defined on this restriction.  More... | |
| QName * | getBase () const | 
| It returns the name of a built-in data type, simple type or complex type that will be restricted.  More... | |
| Content * | getContent () const | 
| It returns the content of this restriction.  More... | |
| std::string * | getId () const | 
| It returns a pointer (may be NULL) to the object id.  More... | |
| Restriction4ComplexContent & | operator= (const Restriction4ComplexContent &rhs) | 
| Assignment operator.  More... | |
| Restriction4ComplexContent (std::string *id, QName *base) | |
| Constructor.  More... | |
| Restriction4ComplexContent (const Restriction4ComplexContent &rhs) | |
| Copy constructor.  More... | |
| void | setAnnotation (Annotation *ann) | 
| It sets the associated annotation.  More... | |
| void | setAnyAttribute (AnyAttribute *a) | 
| It sets the anyAttribute to this restriction.  More... | |
| void | setBase (QName *base) | 
| It sets the name of a built-in data type, simple type or complex type that will be restricted.  More... | |
| void | setContent (Content *c) | 
| It sets the group content. It can be one of: group |all | choice | sequence.  More... | |
| void | setId (std::string *id) | 
| it sets the id.  More... | |
| ~Restriction4ComplexContent () | |
| Destructor.  More... | |
Private Attributes | |
| AnyAttribute * | m_anyAttr | 
| The anyAttribute element. (Optional)  More... | |
| boost::ptr_vector < AbstractAttribute >  | m_attributeVec | 
| The list of attributes (attributes and attributeGroups). (Optional)  More... | |
| QName * | m_base | 
| It specifies the name of a built-in data type, simpleType element, or complexType element defined in this schema or another schema. (Required)  More... | |
| Content * | m_content | 
| It can be: group |all | choice | sequence. (Optional)  More... | |
The restriction class can be used to define restrictions on a complexContent.
Definition at line 52 of file Restriction4ComplexContent.h.
| te::xsd::Restriction4ComplexContent::Restriction4ComplexContent | ( | std::string * | id, | 
| QName * | base | ||
| ) | 
Constructor.
| id | It specifies a unique ID for the element. It can be a NULL value. | 
| base | It specifies the name of a built-in data type, simpleType element, or complexType element defined in this schema or another schema. It can not be a NULL value. | 
Definition at line 36 of file Restriction4ComplexContent.cpp.
| te::xsd::Restriction4ComplexContent::Restriction4ComplexContent | ( | const Restriction4ComplexContent & | rhs | ) | 
Copy constructor.
| rhs | Right-hand-side object. | 
| te::xsd::Restriction4ComplexContent::~Restriction4ComplexContent | ( | ) | 
Destructor.
Definition at line 46 of file Restriction4ComplexContent.cpp.
| void te::xsd::Restriction4ComplexContent::addAttribute | ( | AbstractAttribute * | a | ) | 
It adds an attribute to this restriction.
| a | The attribute that will be added. | 
Definition at line 80 of file Restriction4ComplexContent.cpp.
      
  | 
  inlinevirtual | 
Implements te::xsd::TypeDerivation.
Definition at line 147 of file Restriction4ComplexContent.h.
      
  | 
  inherited | 
It returns the associated annotation.
Definition at line 30 of file Annotated.cpp.
References te::xsd::Annotated::m_annotation.
| te::xsd::AnyAttribute * te::xsd::Restriction4ComplexContent::getAnyAttribute | ( | ) | const | 
It returns the anyAttribute defined on this restriction.
Definition at line 63 of file Restriction4ComplexContent.cpp.
| te::xsd::QName * te::xsd::Restriction4ComplexContent::getBase | ( | ) | const | 
It returns the name of a built-in data type, simple type or complex type that will be restricted.
Definition at line 53 of file Restriction4ComplexContent.cpp.
| te::xsd::Content * te::xsd::Restriction4ComplexContent::getContent | ( | ) | const | 
It returns the content of this restriction.
Definition at line 58 of file Restriction4ComplexContent.cpp.
      
  | 
  inherited | 
It returns a pointer (may be NULL) to the object id.
Definition at line 35 of file Identifiable.cpp.
| Restriction4ComplexContent& te::xsd::Restriction4ComplexContent::operator= | ( | const Restriction4ComplexContent & | rhs | ) | 
Assignment operator.
| rhs | Right-hand-side object. | 
      
  | 
  inherited | 
It sets the associated annotation.
| 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::Restriction4ComplexContent::setAnyAttribute | ( | AnyAttribute * | a | ) | 
It sets the anyAttribute to this restriction.
| a | It specifies the anyAttribute. | 
Definition at line 85 of file Restriction4ComplexContent.cpp.
| void te::xsd::Restriction4ComplexContent::setBase | ( | QName * | base | ) | 
It sets the name of a built-in data type, simple type or complex type that will be restricted.
| base | The name of a built-in data type, simple type or complex type that will be restricted. | 
Definition at line 68 of file Restriction4ComplexContent.cpp.
| void te::xsd::Restriction4ComplexContent::setContent | ( | Content * | c | ) | 
It sets the group content. It can be one of: group |all | choice | sequence.
| c | The appropriate content to this restriction. | 
Definition at line 74 of file Restriction4ComplexContent.cpp.
      
  | 
  inherited | 
it sets the id.
| id | The id to be associated to the object. It will take the ownership of the given string. | 
Definition at line 29 of file Identifiable.cpp.
References te::xsd::Identifiable::m_id.
Referenced by te::xsd::serialize::ReadIdentifiable().
      
  | 
  private | 
The anyAttribute element. (Optional)
Definition at line 154 of file Restriction4ComplexContent.h.
      
  | 
  private | 
The list of attributes (attributes and attributeGroups). (Optional)
Definition at line 153 of file Restriction4ComplexContent.h.
      
  | 
  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 151 of file Restriction4ComplexContent.h.
      
  | 
  private | 
It can be: group |all | choice | sequence. (Optional)
Definition at line 152 of file Restriction4ComplexContent.h.