31 #include <xlnt/xlnt_config.hpp> 93 variant(
const std::string &value);
118 variant(
const std::initializer_list<std::int32_t> &value);
123 variant(
const std::vector<std::int32_t> &value);
128 variant(
const std::initializer_list<const char *> &value);
133 variant(
const std::vector<const char *> &value);
138 variant(
const std::initializer_list<std::string> &value);
143 variant(
const std::vector<std::string> &value);
148 variant(
const std::vector<variant> &value);
153 bool is(
type t)
const;
159 template <
typename T>
165 type value_type()
const;
171 std::vector<variant> vector_value_;
172 std::int32_t i4_value_;
173 std::string lpstr_value_;
type
The possible types a variant can hold.
Definition: variant.hpp:48
Represents an object that can have variable type.
Definition: variant.hpp:40
T get() const
Returns the value of this variant as type T. An exception will be thrown if the types are not convert...
Enumerates the possible types a cell can be determined by it's current value.
Definition: cell.hpp:37
bool operator==(std::nullptr_t, const cell &cell)
Returns true if this cell is uninitialized.
value is an ISO 8601 formatted date
A datetime is a combination of a date and a time. IMPORTANT: The datetime could be in an empty/invali...
Definition: datetime.hpp:41