48 DECLARE_EXCEPTION(ExcStorageTypeMismatch, <<
"Storage type mismatch. You want value of type "
49 << EI_RequestedType::qval <<
" but stored is value of type "
50 << EI_StoredType::qval);
70 virtual std::int64_t
get_int()
const;
76 virtual bool is_null()
const =0;
80 virtual void print(std::ostream &stream,
int pad=0)
const =0;
100 virtual void print(std::ostream &stream,
int pad=0)
const;
115 virtual void print(std::ostream &stream,
int pad=0)
const;
124 virtual std::int64_t
get_int()
const;
127 virtual void print(std::ostream &stream,
int pad=0)
const;
140 virtual void print(std::ostream &stream,
int pad=0)
const;
150 virtual const std::string &
get_string()
const;
153 virtual void print(std::ostream &stream,
int pad=0)
const;
163 virtual void print(std::ostream &stream,
int pad=0)
const;
static constexpr bool value
IntFormatSpec< int, AlignTypeSpec< TYPE_CODE >, Char > pad(int value, unsigned width, Char fill=' ')