Provides a standardized method for citing a resource (dataset, feature, source, publication, etc.) More...
#include <CI_Citation.h>
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_Citation * | clone () 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... | |
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.
te::md::CI_Citation::CI_Citation | ( | const std::string & | title, |
boost::gregorian::date | date, | ||
CI_DateTypeCode | dateype | ||
) |
Constructor.
title | Name by which the cited resource is known. |
date | Reference date for the cited resource. |
datetype | Identification of the event used for the temporal aspects in the resource. |
te::md::CI_Citation::~CI_Citation | ( | ) |
Destructor.
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.
|
private |
Reference date for the cited resource.
Definition at line 91 of file CI_Citation.h.
|
private |
Identification of the event used for the temporal aspects in the resource.
Definition at line 92 of file CI_Citation.h.
|
private |
Name by which the cited resource is known.
Definition at line 90 of file CI_Citation.h.