|
OpenXLSX 1.9.1
|
This class encapsulates the concept of a contiguous range of cells in a row. More...
#include <XLRowData.hpp>
Public Member Functions | |
| 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. | |
Friends | |
| class | XLRowDataIterator |
| class | XLRowDataProxy |
| class | XLRow |
This class encapsulates the concept of a contiguous range of cells in a row.
| OpenXLSX::XLRowDataRange::XLRowDataRange | ( | const XLRowDataRange & | other | ) |
Copy constructor.
| other | Object to be copied. |
|
defaultnoexcept |
Move constructor.
| other | Object to be moved. |
|
default |
Destructor.
| XLRowDataIterator OpenXLSX::XLRowDataRange::begin | ( | ) |
Get an iterator to the first element.
| XLRowDataIterator OpenXLSX::XLRowDataRange::end | ( | ) |
Get an iterator to (one-past) the last element.
| XLRowDataRange & OpenXLSX::XLRowDataRange::operator= | ( | const XLRowDataRange & | other | ) |
Copy assignment operator.
| other | Object to be copied. |
|
inline |
Templated assignment operator - assign value to all existing cells in the row.
| T | The type of the value argument. |
| value | The value. |
|
defaultnoexcept |
Move assignment operator.
| other | Object to be moved. |
| uint16_t OpenXLSX::XLRowDataRange::size | ( | ) | const |
Get the size (length) of the range.
|
friend |
|
friend |
|
friend |