souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
28 ~Cell()
override =
default;
33 const std::chrono::microseconds
value;
38 return value.count() / 1000000.0;
41 std::cerr <<
"getting long on time cell\n";
45 std::cerr <<
"getting string on time cell\n";
66 std::cerr <<
"getting long on double cell\n";
70 std::cerr <<
"getting string on double cell\n";
74 std::cerr <<
"getting time on double cell\n";
83 class Cell<
std::string> :
public CellInterface {
84 const std::string
value;
89 std::cerr <<
"getting double on string cell\n";
93 std::cerr <<
"getting long on string cell\n";
99 std::chrono::microseconds
getTimeVal()
const override {
100 std::cerr <<
"getting time on double cell\n";
103 std::string
toString(
int )
const override {
115 std::cerr <<
"getting double on long cell\n";
119 std::cerr <<
"getting string on long cell\n";
126 std::cerr <<
"getting time on long cell\n";
129 std::string
toString(
int precision)
const override {
139 std::cerr <<
"getting double on void cell";
143 std::cerr <<
"getting long on void cell";
147 std::cerr <<
"getting string on void cell\n";
151 std::cerr <<
"getting time on void cell\n";
virtual long getLongVal() const =0
std::string getStringVal() const override
virtual std::chrono::microseconds getTimeVal() const =0
std::chrono::microseconds getTimeVal() const override
std::string getStringVal() const override
double getDoubleVal() const override
virtual std::string getStringVal() const =0
long getLongVal() const override
virtual std::string toString(int precision) const =0
const std::chrono::microseconds value
std::string toString(int precision) const override
std::chrono::microseconds getTimeVal() const override
Cell(std::chrono::microseconds value)
std::string toString(int) const override
std::chrono::microseconds getTimeVal() const override
double getDoubleVal() const override
long getLongVal() const override
double getDoubleVal() const override
std::string toString(int) const override
std::chrono::microseconds getTimeVal() const override
virtual double getDoubleVal() const =0
std::string getStringVal() const override
double getDoubleVal() const override
long getLongVal() const override
std::string toString(int) const override
long getLongVal() const override
std::string getStringVal() const override