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.
te::md::CI_Citation::~CI_Citation ( )

Destructor.

Member Function Documentation

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

Creates a new copy of this object.

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

Returns the citation date.

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

Returns the citation date type.

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

Returns the citation title.

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