27 #include "../../datatype/Property.h"
28 #include "../datasource/DataSourceCatalog.h"
51 boost::int64_t increment,
52 boost::int64_t startValue,
55 : m_increment(increment),
58 m_startValue(startValue),
71 : m_increment(rhs.m_increment),
72 m_minValue(rhs.m_minValue),
73 m_maxValue(rhs.m_maxValue),
74 m_startValue(rhs.m_startValue),
75 m_cachedValues(rhs.m_cachedValues),
77 m_ownedBy(rhs.m_ownedBy),
79 m_cycled(rhs.m_cycled),
std::string m_name
The sequence name.
Sequence(DataSourceCatalog *catalog=0, unsigned int id=0)
It constructs a new sequence.
It represents the system catalog of a DataSource.
Sequence & operator=(const Sequence &rhs)
Assignment operator.
DataSourceCatalog * m_catalog
The DataSourceCatalog associated to this sequence.
It describes a sequence (a number generator).
unsigned int m_id
An identification number for the sequence.
boost::int64_t m_maxValue
The maximum value that the sequence can generate.
Sequence * clone()
It returns a clone of the object.
boost::int64_t m_startValue
The sequence starting value.
bool m_cycled
If it is true, the sequence can wrap when it reaches the maximum value in the case of an ascendent se...
void add(const DataSetTypePtr &dt)
It adds a new dataset schema to the catalog.
boost::int64_t m_increment
The value to be added to the current sequence value to create the new value.
boost::int64_t m_cachedValues
It specifies how many sequence numbers are to be preallocated for faster access.
It describes a sequence (a number generator).
boost::int64_t m_minValue
The minimum value that the sequence can generate.
A class that models the description of a dataset.
te::dt::Property * m_ownedBy
The sequence may be associated with a specific property type (owned by a property).