|
| | XLRowDataRange (const XLRowDataRange &other) |
| | Copy constructor.
|
| | XLRowDataRange (XLRowDataRange &&other) noexcept |
| | Move constructor.
|
| | ~XLRowDataRange () |
| | Destructor.
|
| XLRowDataRange & | operator= (const XLRowDataRange &other) |
| | Copy assignment operator.
|
| XLRowDataRange & | operator= (XLRowDataRange &&other) noexcept |
| | Move assignment operator.
|
| uint16_t | size () const |
| | Get the size (length) of the range.
|
| XLRowDataIterator | begin () |
| | Get an iterator to the first element.
|
| XLRowDataIterator | end () |
| | Get an iterator to (one-past) the last element.
|
| template<typename T, typename = std::enable_if_t< std::is_integral_v<T> or std::is_floating_point_v<T> or std::is_same_v<std::decay_t<T>, std::string> || std::is_same_v<std::decay_t<T>, std::string_view> or std::is_same_v<std::decay_t<T>, const char*> || std::is_same_v<std::decay_t<T>, char*> or std::is_same_v<T, XLDateTime>>> |
| XLRowDataRange & | operator= (T value) |
| | Templated assignment operator - assign value to all existing cells in the row.
|
This class encapsulates the concept of a contiguous range of cells in a row.
template<typename T, typename = std::enable_if_t< std::is_integral_v<T> or std::is_floating_point_v<T> or std::is_same_v<std::decay_t<T>, std::string> || std::is_same_v<std::decay_t<T>, std::string_view> or std::is_same_v<std::decay_t<T>, const char*> || std::is_same_v<std::decay_t<T>, char*> or std::is_same_v<T, XLDateTime>>>
Templated assignment operator - assign value to all existing cells in the row.
- Note
- CAUTION: non-existing cells will not be assigned
- Template Parameters
-
| T | The type of the value argument. |
- Parameters
-
- Returns
- A reference to the assigned-to object.