26#ifndef __TERRALIB_RASTER_INTERNAL_RASTERPROPERTY_H
27#define __TERRALIB_RASTER_INTERNAL_RASTERPROPERTY_H
93 const std::vector<BandProperty*>& bands,
94 const std::map<std::string, std::string>& rinfo,
166 void setInfo(
const std::map<std::string, std::string>& rinfo);
169 const std::map<std::string, std::string>&
getInfo()
const;
An atomic property like an integer or double.
It models a property definition.
An atomic property like an integer or double.
bool isRequired() const
It returns true if the attribute is required, otherwise it returns false.
A raster band description.
A rectified grid is the spatial support for raster data.
std::vector< te::rst::BandProperty * > & getBandProperties()
Returns a reference to the list of bands definitions.
void set(std::size_t i, te::rst::BandProperty *b)
It sets the i-th band to the new information provided.
const std::vector< te::rst::BandProperty * > & getBandProperties() const
Returns a reference to the list of bands definitions.
std::map< std::string, std::string > m_rinfo
Additional raster information.
void set(te::rst::Grid *grid)
Sets the definition of the raster grid support.
const te::rst::Grid * getGrid() const
Returns the definition of the raster grid support.
std::vector< BandProperty * > m_bands
A vector of bands description.
Grid * m_grid
Sets the Raster Property name.
te::dt::Property * clone() const
It returns a clone of the object.
RasterProperty(Grid *grid, const std::vector< BandProperty * > &bands, const std::map< std::string, std::string > &rinfo, bool isRequired=false, unsigned int id=0, te::dt::Property *parent=0)
It constructs a new raster property.
void add(te::rst::BandProperty *b)
It adds a new band information to the property.
void setInfo(const std::map< std::string, std::string > &rinfo)
Sets the detailed information about the raster data.
virtual ~RasterProperty()
Destructor.
te::rst::Grid * getGrid()
Returns the definition of the raster grid support.
RasterProperty(const RasterProperty &rhs)
Copy constructor.
RasterProperty & operator=(const RasterProperty &rhs)
Assignment operator.
const std::map< std::string, std::string > & getInfo() const
Returns the detailed information about the raster data.
RasterProperty(const std::string &name, bool isRequired=false, unsigned int id=0, te::dt::Property *parent=0)
It constructs a new raster property.
Namespace for the Raster module of TerraLib.
Configuration flags for the Raster module of TerraLib.
#define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.