19 #ifndef NAF_TOOLS_DVALUE
20 #define NAF_TOOLS_DVALUE
26 #include <Poco/Dynamic/Var.h>
27 #include "Poco/DateTimeParser.h"
28 #include "Poco/DateTime.h"
29 #include "Poco/DateTimeFormat.h"
30 #include "Poco/DateTimeFormatter.h"
31 #include "Poco/Timestamp.h"
33 #include "tools/output_logger.h"
60 DValue(Poco::Dynamic::Var& value);
61 DValue(std::string value_string);
63 DValue(
const char* value_string);
74 std::string& get_value_string()
76 auto& var = value_string_;
81 auto& var = value_int_;
84 float& get_value_float()
86 auto& var = value_float_;
89 bool& get_value_bool()
91 auto& var = value_bool_;
95 bool operator==(
DValue& dvalue);
96 bool operator!=(
DValue& dvalue);
97 bool operator<(
DValue& dvalue);
98 bool operator<=(
DValue& dvalue);
99 bool operator>(
DValue& dvalue);
100 bool operator>=(
DValue& dvalue);
101 bool TypeIsIqual_(Type row_value_type);
102 std::string ToString_();
105 void Format_(Poco::Dynamic::Var& value);
110 std::string value_string_;