49 class CORE_LIBRARY_DLL_SHARED_API
Cell final
56 #ifdef USE_EXPLICIT_MOVE_ 69 explicit Cell(
const std::string& value);
76 explicit Cell(int32_t value);
83 explicit Cell(int64_t value);
90 explicit Cell(
float value);
97 explicit Cell(
double value);
104 explicit Cell(
long double value);
108 Cell& operator=(
const Cell&) =
default;
109 #ifdef USE_EXPLICIT_MOVE_ 123 Cell& operator=(
const std::string& rhs);
131 Cell& operator=(int32_t rhs);
139 Cell& operator=(int64_t rhs);
147 Cell& operator=(
float rhs);
155 Cell& operator=(
double rhs);
163 Cell& operator=(
long double rhs);
168 std::string Value()
const;
175 operator std::string()
const;
185 operator int32_t()
const;
195 operator int64_t()
const;
205 operator float()
const;
215 operator double()
const;
225 operator long double()
const;
234 int32_t ToInt32Def(int32_t defval = 0)
const NO_EXCEPT_;
243 int64_t ToInt64Def(int64_t defval = 0)
const NO_EXCEPT_;
252 float ToFloatDef(
float defval = 0.0f)
const NO_EXCEPT_;
261 double ToDoubleDef(
double defval = 0.0)
const NO_EXCEPT_;
270 long double ToLongDoubleDef(
long double defval = 0.0L)
const NO_EXCEPT_;
274 std::string m_value{};
280 #endif // CSVGRIDCELL The core_lib namespace.
Definition: AsioDefines.h:59
Class defining a single cell within a row of the grid.
Definition: CsvGridCell.h:49
File containing declaration of DLL import/export control defines.