26 #ifndef __TERRALIB_RASTER_INTERNAL_RASTERPROPERTY_H
27 #define __TERRALIB_RASTER_INTERNAL_RASTERPROPERTY_H
30 #include "../datatype/SimpleProperty.h"
75 bool isRequired =
false,
93 const std::vector<BandProperty*>& bands,
94 const std::map<std::string, std::string>& rinfo,
95 bool isRequired =
false,
166 void setInfo(
const std::map<std::string, std::string>& rinfo);
169 const std::map<std::string, std::string>&
getInfo()
const;
192 std::vector<BandProperty*> m_bands;
193 std::map<std::string, std::string> m_rinfo;
It models a property definition.
An atomic property like an integer or double.
A raster band description.
A rectified grid is the spatial support for raster data.
void set(std::size_t i, te::rst::BandProperty *b)
It sets the i-th band to the new information provided.
te::rst::Grid * getGrid()
Returns the definition of the raster grid support.
void set(te::rst::Grid *grid)
Sets the definition of the raster grid support.
te::dt::Property * clone() const
It returns a clone of the object.
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(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.
const te::rst::Grid * getGrid() const
Returns the definition of the raster grid support.
void setInfo(const std::map< std::string, std::string > &rinfo)
Sets the detailed information about the raster data.
virtual ~RasterProperty()
Destructor.
RasterProperty(const RasterProperty &rhs)
Copy constructor.
std::vector< te::rst::BandProperty * > & getBandProperties()
Returns a reference to the list of bands definitions.
const std::vector< te::rst::BandProperty * > & getBandProperties() const
Returns a reference to the list of bands definitions.
RasterProperty(const std::string &name, bool isRequired=false, unsigned int id=0, te::dt::Property *parent=0)
It constructs a new raster property.
#define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).