28 #include <boost/foreach.hpp> 
   33   m_dataIsCovered(true),
 
   34   m_spatialRepresentationType(te::md::
MD_vector),
 
   47   m_language.push_back(lang);
 
   50 const std::vector<std::string>& 
 
   59   m_charSet.push_back(code);
 
   62 const std::vector<te::md::MD_CharacterSetCode>& 
 
   71   m_topicCategory.push_back(code);
 
   74 const std::vector<te::md::MD_TopicCategoryCode>& 
 
   77   return m_topicCategory;
 
   82                                                     const double& urx, 
const double& ury, 
 
   85   m_extent.init(llx, lly, urx, ury);
 
   86   m_dataIsCovered = dataIsCovered;
 
  107   m_spatialRepresentationType = code;
 
  113   return m_spatialRepresentationType;
 
  134   if (!m_language.empty())
 
  148                             m_extent.getUpperRightX(), m_extent.getUpperRightY(),
 
void addGeographicBBoxExt(const double &llx, const double &lly, const double &urx, const double &ury, bool isInside=true)
Adds the spatial description of the dataset. 
 
std::vector< std::string > m_language
 
Information required to identify a dataset. 
 
const double & getLowerLeftY() const 
It returns a constant refernce to the y coordinate of the lower left corner. 
 
long getScale() const 
Returns the scale information. If equal to 0 the denominator is not valid. 
 
MD_DataIdentification(CI_Citation *cite, const std::string &abstract, MD_ProgressCode status, const std::string &lang)
Constructor. 
 
void setSpatialRepType(te::md::MD_SpatialRepresentationTypeCode code)
Sets the spatial representation type. 
 
void addLanguage(const std::string &lang)
Adds a language used within the dataset. 
 
~MD_DataIdentification()
Destructor. 
 
te::md::MD_SpatialRepresentationTypeCode getSpatialRepTypeCode() const 
Returns the spatial representation type. 
 
Information required to identify a dataset. 
 
const double & getLowerLeftX() const 
It returns a constant reference to the x coordinate of the lower left corner. 
 
void addTopicCategory(MD_TopicCategoryCode code)
Adds a theme of the dataset. 
 
MD_Identification * clone() const 
Gets a copy of this object. 
 
const std::vector< std::string > & getLanguages() const 
Returns the set of languages associated to the dataset. 
 
MD_CharacterSetCode
name of the character coding standard used in the resource 
 
MD_SpatialRepresentationTypeCode
 
Provides a standardized method for citing a resource (dataset, feature, source, publication, etc.) 
 
MD_ProgressCode
status of the dataset or progress of a review 
 
MD_TopicCategoryCode
high-level geographic data thematic classification to assist in the grouping and search of available ...
 
const double & getUpperRightX() const 
It returns a constant refernce to the x coordinate of the upper right corner. 
 
Identification information contains information to uniquely identify the data. 
 
const te::gm::Envelope & getExtent() const 
Returns the set of extents for the dataset. 
 
const double & getUpperRightY() const 
It returns a constant refernce to the x coordinate of the upper right corner. 
 
const std::vector< MD_TopicCategoryCode > & getTopicCategories() const 
Return the themes associated to the dataset. 
 
An Envelope defines a 2D rectangular region. 
 
void addCharacterSet(MD_CharacterSetCode code)
Adds a character coding standard in the dataset. 
 
const std::vector< MD_CharacterSetCode > & getCharsetCodes() const 
Returns a character coding standard in the dataset. 
 
void setScale(long d)
Sets resource scale. The scale of a map or other cartographic object expressed as a fraction or ratio...