All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::md::CI_Citation Class Reference

Provides a standardized method for citing a resource (dataset, feature, source, publication, etc.) More...

#include <CI_Citation.h>

Inheritance diagram for te::md::CI_Citation:

Public Member Functions

 CI_Citation (const std::string &title, boost::gregorian::date date, CI_DateTypeCode dateype)
 
 ~CI_Citation ()
 
Accessor methods

Methods used to get or set properties.

const std::string & getTitle () const
 Returns the citation title. More...
 
const boost::gregorian::date & getDate () const
 Returns the citation date. More...
 
CI_DateTypeCode getDateType () const
 Returns the citation date type. More...
 
CI_Citationclone () const
 Creates a new copy of this object. More...
 

Private Attributes

boost::gregorian::date m_date
 Reference date for the cited resource. More...
 
CI_DateTypeCode m_dateType
 Identification of the event used for the temporal aspects in the resource. More...
 
std::string m_title
 Name by which the cited resource is known. More...
 

Detailed Description

Provides a standardized method for citing a resource (dataset, feature, source, publication, etc.)

This class represents only the mandatory elements of core metadata for geographic datasets.

Definition at line 53 of file CI_Citation.h.

Constructor & Destructor Documentation

te::md::CI_Citation::CI_Citation ( const std::string &  title,
boost::gregorian::date  date,
CI_DateTypeCode  dateype 
)

Constructor.

Parameters
titleName by which the cited resource is known.
dateReference date for the cited resource.
datetypeIdentification of the event used for the temporal aspects in the resource.

Definition at line 30 of file CI_Citation.cpp.

te::md::CI_Citation::~CI_Citation ( )

Destructor.

Definition at line 36 of file CI_Citation.cpp.

Member Function Documentation

te::md::CI_Citation * te::md::CI_Citation::clone ( ) const

Creates a new copy of this object.

Definition at line 57 of file CI_Citation.cpp.

Referenced by te::md::MD_Identification::clone().

const boost::gregorian::date & te::md::CI_Citation::getDate ( ) const

Returns the citation date.

Definition at line 46 of file CI_Citation.cpp.

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

te::md::CI_DateTypeCode te::md::CI_Citation::getDateType ( ) const

Returns the citation date type.

Definition at line 52 of file CI_Citation.cpp.

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

const std::string & te::md::CI_Citation::getTitle ( ) const

Returns the citation title.

Definition at line 40 of file CI_Citation.cpp.

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

Member Data Documentation

boost::gregorian::date te::md::CI_Citation::m_date
private

Reference date for the cited resource.

Definition at line 91 of file CI_Citation.h.

CI_DateTypeCode te::md::CI_Citation::m_dateType
private

Identification of the event used for the temporal aspects in the resource.

Definition at line 92 of file CI_Citation.h.

std::string te::md::CI_Citation::m_title
private

Name by which the cited resource is known.

Definition at line 90 of file CI_Citation.h.


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