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 ( )
default
te::md::MD_Distribution::~MD_Distribution ( )
default

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 34 of file MD_Distribution.cpp.

References m_distrFormats.

Referenced by ExMetadataISO19115().

const boost::ptr_vector< te::md::MD_Format > & te::md::MD_Distribution::getFormats ( ) const

Gets the distribution formats.

Definition at line 41 of file MD_Distribution.cpp.

References m_distrFormats.

Referenced by te::md::Save().

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

Gets an online resource.

Definition at line 53 of file MD_Distribution.cpp.

References m_url.

Referenced by te::md::Save().

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

Sets an online resource.

Definition at line 47 of file MD_Distribution.cpp.

References m_url.

Referenced by ExMetadataISO19115().

Member Data Documentation

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

Definition at line 77 of file MD_Distribution.h.

Referenced by addDistrOption(), and getFormats().

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

Definition at line 78 of file MD_Distribution.h.

Referenced by getURL(), and setURL().


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