27 #include "../../datatype/Property.h" 
   52                      const std::vector<te::dt::Property*>& properties,
 
   59     m_properties(properties)
 
   70     m_properties(rhs.m_properties)
 
   90   size_t size = m_properties.size();
 
   92   for(
size_t i = 0; i < size; ++i)
 
   93     if(m_properties[i] == p)
 
  101   std::size_t size = m_properties.size();
 
  103   for(std::size_t i = 0; i < size; ++i)
 
  104     if(m_properties[i] == p)
 
  106       m_properties[i] = pp;
 
  113   return new Index(*
this);
 
bool has(te::dt::Property *p)
It verifies if Property is associated to the index. 
 
DataSetType * m_dt
The parent DataSetType. 
 
IndexType m_type
The index type. 
 
A class that models the description of a dataset. 
 
Index * clone()
It returns a clone of the object. 
 
It models a property definition. 
 
unsigned int m_id
An identification number for the index. 
 
Index & operator=(const Index &rhs)
Assignment operator. 
 
It describes an index associated to a DataSetType. 
 
void replace(te::dt::Property *p, te::dt::Property *pp)
It changes the reference to property p to pp. 
 
std::string m_name
The index name. 
 
void add(Constraint *c)
It adds a new constraint. 
 
A class that models the description of a dataset. 
 
std::vector< te::dt::Property * > m_properties
The list of properties that form the index. 
 
It describes an index associated to a DataSetType. 
 
Index(DataSetType *parent=0, unsigned int id=0)
Constructor.