Go to the documentation of this file.
   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; }
 
  222 #endif  // __TERRALIB_DATATYPE_INTERNAL_PROPERTY_H 
  
 
unsigned int m_id
An identification number that can be used internally.
 
virtual ~Property()
Virtual destructor.
 
const std::string & getName() const
It returns the property name.
 
void setParent(Property *p)
It associate this property to the informed parent.
 
void setName(const std::string &name)
It sets the property name.
 
std::string m_name
The property name.
 
unsigned int getId() const
It returns the property identifier.
 
void setDatasetName(const std::string &dsName)
It sets the property name.
 
Property(const Property &rhs)
Copy constructor.
 
void setId(unsigned int id)
It sets the property identifier.
 
Enumerations of XML module.
 
Property(const std::string &name, int datatype, unsigned int id=0, Property *parent=0, const std::string &dsName="")
It initializes a new Property.
 
int getType() const
It returns the property data type.
 
Property * m_parent
The parent property type: it must be a CompositeProperty.
 
AbstractData * new_clone(const AbstractData &a)
For use with boost conteiners.
 
virtual bool has(Property *p) const =0
It checks if the Property "p" is associated to this property or any other parent.
 
It models a property definition.
 
Property * getParent() const
It returns the parent of this property, or NULL, if it doesn't have one.
 
#define TEDATATYPEEXPORT
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).
 
int m_type
The property data type.
 
virtual Property * clone() const =0
It returns a clone of the object.
 
Property & operator=(const Property &rhs)
Assignment operator.
 
const std::string & getDatasetName() const
It returns the name of the propery's dataset.
 
std::string m_datasetName
The property's dataset name.