A base class for XSD classes that may allow annotation. More...
#include <Annotated.h>
  
 Public Member Functions | |
| Annotation * | getAnnotation () const | 
| It returns the associated annotation.  More... | |
| void | setAnnotation (Annotation *ann) | 
| It sets the associated annotation.  More... | |
Protected Member Functions | |
| Annotated (Annotation *ann=0) | |
| Constructor.  More... | |
| Annotated (const Annotated &rhs) | |
| Copy constructor.  More... | |
| Annotated & | operator= (const Annotated &rhs) | 
| Assignment operator.  More... | |
| ~Annotated () | |
| Destructor.  More... | |
Private Attributes | |
| Annotation * | m_annotation | 
| Annotation for human reading or machine consumption. (Optional)  More... | |
A base class for XSD classes that may allow annotation.
Definition at line 49 of file Annotated.h.
      
  | 
  protected | 
Constructor.
| ann | The annotation to be associated to the object. | 
Definition at line 41 of file Annotated.cpp.
      
  | 
  protected | 
Copy constructor.
| rhs | Right-hand-side object. | 
Definition at line 46 of file Annotated.cpp.
References m_annotation.
      
  | 
  protected | 
Destructor.
Definition at line 52 of file Annotated.cpp.
| te::xsd::Annotation * te::xsd::Annotated::getAnnotation | ( | ) | const | 
It returns the associated annotation.
Definition at line 30 of file Annotated.cpp.
References m_annotation.
      
  | 
  protected | 
Assignment operator.
| rhs | Right-hand-side object. | 
Definition at line 57 of file Annotated.cpp.
References m_annotation.
Referenced by te::xsd::SimpleTypeConstructor::operator=(), te::xsd::Any::operator=(), te::xsd::AnyAttribute::operator=(), te::xsd::ComplexContent::operator=(), te::xsd::SimpleContent::operator=(), te::xsd::All::operator=(), te::xsd::SimpleType::operator=(), te::xsd::AttributeGroup::operator=(), te::xsd::Choice::operator=(), and te::xsd::Attribute::operator=().
| void te::xsd::Annotated::setAnnotation | ( | Annotation * | ann | ) | 
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().
      
  | 
  private | 
Annotation for human reading or machine consumption. (Optional)
Definition at line 99 of file Annotated.h.
Referenced by Annotated(), getAnnotation(), and operator=().