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"
50 using Ptr = std::shared_ptr<DValue>;
62 DValue(Poco::Dynamic::Var& value);
63 DValue(std::string value_string);
65 DValue(
const char* value_string);
77 bool operator==(
DValue& dvalue);
78 bool operator!=(
DValue& dvalue);
79 bool operator<(
DValue& dvalue);
80 bool operator<=(
DValue& dvalue);
81 bool operator>(
DValue& dvalue);
82 bool operator>=(
DValue& dvalue);
83 bool TypeIsIqual_(Type row_value_type);
84 std::string ToString_();
85 std::string& String_();
91 std::string& get_value_string()
93 auto& var = value_string_;
98 auto& var = value_int_;
101 float& get_value_float()
103 auto& var = value_float_;
106 bool& get_value_bool()
108 auto& var = value_bool_;
112 void Format_(Poco::Dynamic::Var& value);
117 std::string value_string_;