27 #include "../../datatype/Property.h" 52 const std::vector<te::dt::Property*>& properties,
92 for(
size_t i = 0; i < size; ++i)
103 for(std::size_t i = 0; i < size; ++i)
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.
static te::dt::TimeDuration dt(20, 30, 50, 11)
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.