25 #include "../../srs/Config.h" 
   34   m_characterSet(te::md::
MD_utf8),
 
   45     delete m_distribution;
 
   51   assert(!fileid.empty());
 
   53   m_fileIdentifier = fileid;
 
   60   return m_fileIdentifier;
 
   66   assert(!mdid.empty());
 
   80   assert(!lang.empty());
 
   94   m_characterSet = chaset;
 
  100   return m_characterSet;
 
  106   assert(!sname.empty());
 
  107   assert(!sversion.empty());
 
  109   m_standardName = sname;
 
  110   m_standardVersion = sversion;
 
  116   return m_standardName;
 
  122   return m_standardVersion;
 
  129   m_identificationInfo.push_back(mdid);
 
  132 const boost::ptr_vector<te::md::MD_Identification>&
 
  135   return m_identificationInfo;
 
  142   m_contact.push_back(contact);
 
  145 const boost::ptr_vector<te::md::CI_ResponsibleParty>& 
 
  157 const boost::gregorian::date& 
 
  166   m_referenceSystemInfo = srid;
 
  172   return m_referenceSystemInfo;
 
  181     delete m_distribution;
 
  189   return m_distribution;
 
  195   assert(!stm.empty());
 
const boost::ptr_vector< CI_ResponsibleParty > & getContacts() const 
Gets the metadata contacts. 
 
const MD_Distribution * getDistribution() const 
Gets the distribution information. 
 
const std::string & getLanguage() const 
Returns metadata language. 
 
const std::string & getStandardVersion() const 
Returns the version of the metadata standard/profile used. 
 
void setDistribution(MD_Distribution *d)
Sets a distribution information to the metadata. 
 
MD_Metadata(CI_ResponsibleParty *contact=0)
Constructor. 
 
#define TE_UNKNOWN_SRS
A numeric value to represent a unknown SRS identification in TerraLib. 
 
Contains the identify of person(s), and/or position, and/or organization(s) associated with the resou...
 
void setLineage(const std::string &stm)
Sets the lineage statement. General explanation of the data producer’s knowledge of the dataset linea...
 
Information about the distributor of and the options for obtaining the resource. 
 
boost::ptr_vector< CI_ResponsibleParty > m_contact
 
void setCharset(MD_CharacterSetCode chaset)
Sets the charset code used in the metadata. 
 
MD_CharacterSetCode
name of the character coding standard used in the resource 
 
const boost::gregorian::date & getDateStamp() const 
Get metadata date stamp. 
 
void setLanguage(const std::string &lang)
Sets the language of the metadata. 
 
void setFileId(const std::string &fileid)
Sets a unique phrase or string which uniquely identifies the metadata file. 
 
void addIdentification(MD_Identification *mdid)
Adds a dataset identification to the metadata. 
 
te::md::MD_CharacterSetCode getCharset() const 
Returns metadata charset. 
 
void addContact(CI_ResponsibleParty *contact)
Adds a contact information to the metadata. 
 
const std::string & getFileId() const 
Returns the unique phrase or string which uniquely identifies the metadata file. 
 
const std::string & getMetadataURI() const 
Returns URI to the metadata. 
 
const std::string & getStandardName() const 
Returns the name of the metadata standard/profile used. 
 
const boost::ptr_vector< MD_Identification > & getIdentifications() const 
Gets the resources identification associated to the metadata. 
 
void setReferenceSystem(int srid)
Sets the referency system. 
 
Identification information contains information to uniquely identify the data. 
 
~MD_Metadata()
Destructor. 
 
const std::string & getLineage() const 
Gets the lineage statemente. 
 
int getReferenceSystem() const 
Returns the referency system. 
 
void setStandardInfo(const std::string &sname, const std::string &sversion)
Sets the name of the metadata standard/profile used. 
 
void setMetadataURI(const std::string &mdURI)
Sets URI to the metadata . 
 
void setDateStamp(const boost::gregorian::date &date)
Set metadata date stamp.