This class models a notation element from a XML Schema. More...
#include <Notation.h>
  
 Public Member Functions | |
| Annotation * | getAnnotation () const | 
| It returns the associated annotation.  More... | |
| std::string * | getId () const | 
| It returns a pointer (may be NULL) to the object id.  More... | |
| std::string * | getName () const | 
| It returns the name of this element.  More... | |
| std::string * | getPublic () const | 
| It returns the URI corresponding to the public identifier.  More... | |
| std::string * | getSystem () const | 
| It returns the URI corresponding to the system identifier.  More... | |
| Notation (std::string *name, std::string *pub, Annotation *ann=0, std::string *id=0) | |
| Constructor.  More... | |
| Notation (const Notation &rhs) | |
| Copy constructor.  More... | |
| Notation & | operator= (const Notation &rhs) | 
| Assignment operator.  More... | |
| void | setAnnotation (Annotation *ann) | 
| It sets the associated annotation.  More... | |
| void | setId (std::string *id) | 
| it sets the id.  More... | |
| void | setName (std::string *name) | 
| It sets the name of this element.  More... | |
| void | setPublic (std::string *pub) | 
| It sets the URI corresponding to the public identifier.  More... | |
| void | setSystem (std::string *sys) | 
| It sets the URI corresponding to the system identifier.  More... | |
| ~Notation () | |
| Destructor.  More... | |
Private Attributes | |
| std::string * | m_name | 
| It specifies a name for the element. (Required)  More... | |
| std::string * | m_public | 
| It specifies a URI corresponding to the public identifier. (Required)  More... | |
| std::string * | m_system | 
| It specifies a URI corresponding to the system identifier. (Optional)  More... | |
This class models a notation element from a XML Schema.
Definition at line 44 of file Notation.h.
| te::xsd::Notation::Notation | ( | std::string * | name, | 
| std::string * | pub, | ||
| Annotation * | ann = 0,  | 
        ||
| std::string * | id = 0  | 
        ||
| ) | 
Constructor.
| id | It specifies a unique ID for the element. It can be a NULL value. | 
| name | It specifies a name for the element. It can not be a NULL value. | 
| pub | It specifies a URI corresponding to the public identifier. It can not be a NULL value. | 
Definition at line 32 of file Notation.cpp.
| te::xsd::Notation::Notation | ( | const Notation & | rhs | ) | 
| te::xsd::Notation::~Notation | ( | ) | 
Destructor.
Definition at line 52 of file Notation.cpp.
      
  | 
  inherited | 
It returns the associated annotation.
Definition at line 30 of file Annotated.cpp.
References te::xsd::Annotated::m_annotation.
      
  | 
  inherited | 
It returns a pointer (may be NULL) to the object id.
Definition at line 35 of file Identifiable.cpp.
| std::string * te::xsd::Notation::getName | ( | ) | const | 
It returns the name of this element.
Definition at line 63 of file Notation.cpp.
| std::string * te::xsd::Notation::getPublic | ( | ) | const | 
It returns the URI corresponding to the public identifier.
Definition at line 68 of file Notation.cpp.
| std::string * te::xsd::Notation::getSystem | ( | ) | const | 
It returns the URI corresponding to the system identifier.
Definition at line 73 of file Notation.cpp.
| te::xsd::Notation & te::xsd::Notation::operator= | ( | const Notation & | rhs | ) | 
Assignment operator.
| rhs | Right-hand-side object. | 
Definition at line 58 of file Notation.cpp.
      
  | 
  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().
      
  | 
  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().
| void te::xsd::Notation::setName | ( | std::string * | name | ) | 
It sets the name of this element.
| name | The name of this element. | 
Definition at line 78 of file Notation.cpp.
| void te::xsd::Notation::setPublic | ( | std::string * | pub | ) | 
It sets the URI corresponding to the public identifier.
| pub | The URI corresponding to the public identifier. | 
Definition at line 85 of file Notation.cpp.
| void te::xsd::Notation::setSystem | ( | std::string * | sys | ) | 
It sets the URI corresponding to the system identifier.
| sys | The URI corresponding to the system identifier. | 
Definition at line 92 of file Notation.cpp.
      
  | 
  private | 
It specifies a name for the element. (Required)
Definition at line 132 of file Notation.h.
Referenced by Notation().
      
  | 
  private | 
It specifies a URI corresponding to the public identifier. (Required)
Definition at line 133 of file Notation.h.
Referenced by Notation().
      
  | 
  private | 
It specifies a URI corresponding to the system identifier. (Optional)
Definition at line 134 of file Notation.h.