26#ifndef __TERRALIB_DATAACCESS_INTERNAL_INDEX_H
27#define __TERRALIB_DATAACCESS_INTERNAL_INDEX_H
194 bool has(
const std::string& propertyName);
It models a property definition.
A class that models the description of a dataset.
std::string m_name
The index name.
void setDataSetType(DataSetType *dt)
It sets the DataSetType associated to the index.
unsigned int m_id
An identification number for the index.
IndexType getIndexType() const
It gets the index type.
IndexType m_type
The index type.
void setId(unsigned int id)
It sets the DataSetType identifier.
void add(const te::dt::Property *p)
It adds the property to the list of properties of the index.
void setIndexType(IndexType t)
It sets the index type.
unsigned int getId() const
It returns the index identifier.
const std::string & getName() const
It returns the index name.
Index & operator=(const Index &rhs)
Assignment operator.
Index(const Index &rhs)
Copy constructor.
bool has(const std::string &propertyName)
It verifies if Property is associated to the index.
Index(DataSetType *parent=0, unsigned int id=0)
Constructor.
std::vector< te::dt::Property * > m_properties
The list of properties that form the index.
DataSetType * m_dt
The parent DataSetType.
void replace(const std::string &propName, const te::dt::Property *pp)
It changes the reference to property p to pp.
void setName(const std::string &name)
It sets the index name.
Index * clone() const
It returns a clone of the object.
DataSetType * getDataSetType() const
It returns the DataSetType associated to the index.
const std::vector< te::dt::Property * > & getProperties() const
It returns the properties that take part of the index.
Index(const std::string &name, IndexType t=B_TREE_TYPE, DataSetType *dt=0, unsigned int id=0)
Constructor.
It models a property definition.
virtual Property * clone() const =0
It returns a clone of the object.
General enumerations for the Data Access module.
Namespace for the DataAccess API of TerraLib.
Namespace for the Data Type module of TerraLib.
Configuration flags for the Data Access module of TerraLib.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.