te::md::MD_Distribution Class Reference

Information about the distributor of and the options for obtaining the resource. More...

#include <MD_Distribution.h>

Inheritance diagram for te::md::MD_Distribution:

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_Formatm_distrFormats
 
std::string m_url
 

Detailed Description

Information about the distributor of and the options for obtaining the resource.

Definition at line 51 of file MD_Distribution.h.

Constructor & Destructor Documentation

te::md::MD_Distribution::MD_Distribution ( )
te::md::MD_Distribution::~MD_Distribution ( )

Member Function Documentation

void te::md::MD_Distribution::addDistrOption ( MD_Format opt)

Adds an distribution option.

Parameters
optPointer to a distribution option. Class takes pointer ownership. Do not pass null pointer.
const boost::ptr_vector<MD_Format>& te::md::MD_Distribution::getFormats ( ) const

Gets the distribution formats.

const std::string& te::md::MD_Distribution::getURL ( ) const

Gets an online resource.

void te::md::MD_Distribution::setURL ( const std::string &  url)

Sets an online resource.

Member Data Documentation

boost::ptr_vector<MD_Format> te::md::MD_Distribution::m_distrFormats
private

Definition at line 77 of file MD_Distribution.h.

std::string te::md::MD_Distribution::m_url
private

Definition at line 78 of file MD_Distribution.h.


The documentation for this class was generated from the following file: