Information about the distributor of and the options for obtaining the resource. More...
#include <MD_Distribution.h>
Public Member Functions | |
void | addDistrOption (MD_Format *opt) |
Adds an distribution option. More... | |
const boost::ptr_vector< MD_Format > & | getFormats () const |
Gets the distribution formats. More... | |
const std::string & | getURL () const |
Gets an online resource. More... | |
MD_Distribution () | |
void | setURL (const std::string &url) |
Sets an online resource. More... | |
~MD_Distribution () | |
Private Attributes | |
boost::ptr_vector< MD_Format > | m_distrFormats |
std::string | m_url |
Information about the distributor of and the options for obtaining the resource.
Definition at line 51 of file MD_Distribution.h.
te::md::MD_Distribution::MD_Distribution | ( | ) |
Definition at line 29 of file MD_Distribution.cpp.
te::md::MD_Distribution::~MD_Distribution | ( | ) |
Definition at line 32 of file MD_Distribution.cpp.
void te::md::MD_Distribution::addDistrOption | ( | MD_Format * | opt | ) |
Adds an distribution option.
opt | Pointer to a distribution option. Class takes pointer ownership. Do not pass null pointer. |
Definition at line 36 of file MD_Distribution.cpp.
const boost::ptr_vector< te::md::MD_Format > & te::md::MD_Distribution::getFormats | ( | ) | const |
Gets the distribution formats.
Definition at line 43 of file MD_Distribution.cpp.
Referenced by te::md::Save().
const std::string & te::md::MD_Distribution::getURL | ( | ) | const |
Gets an online resource.
Definition at line 55 of file MD_Distribution.cpp.
Referenced by te::md::Save().
void te::md::MD_Distribution::setURL | ( | const std::string & | url | ) |
Sets an online resource.
Definition at line 49 of file MD_Distribution.cpp.
|
private |
Definition at line 77 of file MD_Distribution.h.
|
private |
Definition at line 78 of file MD_Distribution.h.