31 #include <xlnt/xlnt_config.hpp> 64 static index_t column_index_from_string(
const std::string &column_string);
74 static std::string column_string_from_index(
index_t column_index);
89 column_t(
const std::string &column_string);
99 std::string column_string()
const;
104 column_t &operator=(
const std::string &rhs);
109 column_t &operator=(
const char *rhs);
134 bool operator==(
const std::string &other)
const;
154 bool operator!=(
const std::string &other)
const;
164 bool operator>(
const column_t &other)
const;
169 bool operator>=(
const column_t &other)
const;
174 bool operator<(
const column_t &other)
const;
179 bool operator<=(
const column_t &other)
const;
272 enum class row_or_col_t : int
287 std::size_t operator()(
const column_t &k)
const;
index_t index
Internal numeric value of this column index.
Definition: index_types.hpp:269
std::uint32_t index_t
Alias declaration for the internal numeric type of this column.
Definition: index_types.hpp:54
std::uint32_t row_t
All rows should be referred to by an instance of this type.
Definition: index_types.hpp:41
Definition: cell_reference.hpp:262
Enumerates the possible types a cell can be determined by it's current value.
Definition: cell.hpp:37
size_t operator()(const xlnt::column_t &k) const
Returns the result of hashing column k.
Definition: index_types.hpp:303
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,...,ZZZ or as a 1-indexed index...
Definition: index_types.hpp:48
bool operator!=(const std::string &reference_string, const range_reference &ref)
Returns true if the string representation of the range is not equivalent to ref.
Functor for hashing a column. Allows for use of std::unordered_set<column_t, column_hash> and similar...
Definition: index_types.hpp:282