All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( )

Definition at line 29 of file MD_Distribution.cpp.

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

Definition at line 32 of file MD_Distribution.cpp.

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.

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.

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 files: