26 #ifndef __TERRALIB_DATATYPE_INTERNAL_PROPERTY_H
27 #define __TERRALIB_DATATYPE_INTERNAL_PROPERTY_H
77 const std::string& dsName =
"");
109 unsigned int getId()
const {
return m_id; }
118 void setId(
unsigned int id) { m_id = id; }
127 const std::string&
getName()
const {
return m_name; }
137 void setName(
const std::string& name) { m_name = name; }
189 virtual bool has(
Property* p)
const = 0;
200 virtual Property* clone()
const = 0;
222 #endif // __TERRALIB_DATATYPE_INTERNAL_PROPERTY_H
Property * m_parent
The parent property type: it must be a CompositeProperty.
virtual ~Property()
Virtual destructor.
virtual Property * clone() const =0
It returns a clone of the object.
std::string m_name
The property name.
void setDatasetName(const std::string &dsName)
It sets the property name.
It models a property definition.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
void setId(unsigned int id)
It sets the property identifier.
Configuration flags for the DataType module of TerraLib.
void setName(const std::string &name)
It sets the property name.
Property * getParent() const
It returns the parent of this property, or NULL, if it doesn't have one.
std::string m_datasetName
The property's dataset name.
int getType() const
It returns the property data type.
General enumerations for the data type module.
unsigned int m_id
An identification number that can be used internally.
const std::string & getDatasetName() const
It returns the name of the propery's dataset.
int m_type
The property data type.
unsigned int getId() const
It returns the property identifier.
AbstractData * new_clone(const AbstractData &a)
For use with boost conteiners.
const std::string & getName() const
It returns the property name.
void setParent(Property *p)
It associate this property to the informed parent.