2#ifndef RDBMODEL_DATATYPE_H
3#define RDBMODEL_DATATYPE_H
22 std::vector<std::string> m_choices;
57 bool okValue(
const std::string& val)
const;
79 int setType(std::string name);
84 bool setInterval(
const std::string&
min,
const std::string&
max);
86 std::string m_typename;
bool okValue(const std::string &val) const
RESTRICT getRestrict() const
bool getInterval(std::string &min, std::string &max)
bool isCompatible(const Datatype *other) const
int getOutputSize() const
const std::vector< std::string > & getChoices() const
bool choicesRequired() const