30 #include <xlnt/xlnt_config.hpp> 69 static index_t column_index_from_string(
const std::string &column_string);
79 static std::string column_string_from_index(
index_t column_index);
97 column_t(
const std::string &column_string);
105 column_t(
const char *column_string);
110 std::string column_string()
const;
115 column_t &operator=(
const std::string &rhs);
120 column_t &operator=(
const char *rhs);
145 bool operator==(
const std::string &other)
const;
165 bool operator!=(
const std::string &other)
const;
175 bool operator>(
const column_t &other)
const;
180 bool operator>=(
const column_t &other)
const;
185 bool operator<(
const column_t &other)
const;
190 bool operator<=(
const column_t &other)
const;
283 enum class row_or_col_t : int
298 std::size_t operator()(
const column_t &k)
const;
index_t index
Internal numeric value of this column index.
Definition: index_types.hpp:280
std::uint32_t index_t
Alias declaration for the internal numeric type of this column.
Definition: index_types.hpp:59
std::uint32_t row_t
All rows should be referred to by an instance of this type. By default, row references range from 1 t...
Definition: index_types.hpp:43
Definition: cell_reference.hpp:288
Enumerates the possible types a cell can be determined by it's current value.
Definition: cell.hpp:36
bool operator!=(std::nullptr_t, const cell &cell)
Returns true if this cell is initialized.
size_t operator()(const xlnt::column_t &k) const
Returns the result of hashing column k.
Definition: index_types.hpp:314
bool operator==(std::nullptr_t, const cell &cell)
Returns true if this cell is uninitialized.
Columns can be referred to as a string A,B,...Z,AA,AB,..,ZZ,AAA,...,XFD or as a 1-indexed index (indi...
Definition: index_types.hpp:53
Functor for hashing a column. Allows for use of std::unordered_set<column_t, column_hash> and similar...
Definition: index_types.hpp:293