This class models an object that specifies information to be used by applications. More...
#include <AppInfo.h>
Public Member Functions | |
AppInfo (std::string *source, std::string *value) | |
Constructor. More... | |
AppInfo (const AppInfo &rhs) | |
Copy constructor. More... | |
AnnotationItem * | clone () const |
It creates a clone of the annotation item. More... | |
std::string * | getSource () const |
It returns the URI that specifies the source of the information. More... | |
std::string * | getValue () const |
It returns the information associated to the annotation. More... | |
AppInfo & | operator= (const AppInfo &rhs) |
Assignment operator. More... | |
void | setSource (std::string *source) |
It sets the URI that specifies the source of the information. More... | |
void | setValue (std::string *value) |
It sets the information to be used by the application. More... | |
~AppInfo () | |
Destructor. More... | |
Private Attributes | |
std::string * | m_source |
An URI that specifies the source of the application information. (Optional) More... | |
std::string * | m_value |
An information to be used by the application. (Required) More... | |
This class models an object that specifies information to be used by applications.
te::xsd::AppInfo::AppInfo | ( | std::string * | source, |
std::string * | value | ||
) |
Constructor.
source | A URI reference that specifies the source of the application information. |
value | Any descriptive information. |
Definition at line 29 of file AppInfo.cpp.
te::xsd::AppInfo::AppInfo | ( | const AppInfo & | rhs | ) |
te::xsd::AppInfo::~AppInfo | ( | ) |
Destructor.
Definition at line 43 of file AppInfo.cpp.
|
virtual |
It creates a clone of the annotation item.
Implements te::xsd::AnnotationItem.
Definition at line 87 of file AppInfo.cpp.
std::string * te::xsd::AppInfo::getSource | ( | ) | const |
It returns the URI that specifies the source of the information.
Definition at line 82 of file AppInfo.cpp.
std::string * te::xsd::AppInfo::getValue | ( | ) | const |
It returns the information associated to the annotation.
Definition at line 77 of file AppInfo.cpp.
te::xsd::AppInfo & te::xsd::AppInfo::operator= | ( | const AppInfo & | rhs | ) |
Assignment operator.
rhs | Right-hand-side object. |
Definition at line 49 of file AppInfo.cpp.
void te::xsd::AppInfo::setSource | ( | std::string * | source | ) |
It sets the URI that specifies the source of the information.
info | An URI. |
Definition at line 71 of file AppInfo.cpp.
Referenced by te::xsd::serialize::ReadAnnotation().
void te::xsd::AppInfo::setValue | ( | std::string * | value | ) |
It sets the information to be used by the application.
value | A machine readable material. |
Definition at line 65 of file AppInfo.cpp.
Referenced by te::xsd::serialize::ReadAnnotation().
|
private |
An URI that specifies the source of the application information. (Optional)
Definition at line 115 of file AppInfo.h.
Referenced by AppInfo(), and operator=().
|
private |
An information to be used by the application. (Required)
Definition at line 116 of file AppInfo.h.
Referenced by AppInfo(), and operator=().