mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
default ctor for workbook iterator
This commit is contained in:
parent
94faf01b72
commit
6fb90ecf57
|
@ -53,6 +53,11 @@ public:
|
||||||
using pointer = worksheet *;
|
using pointer = worksheet *;
|
||||||
using reference = worksheet; // intentionally value
|
using reference = worksheet; // intentionally value
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Default Constructs a worksheet iterator
|
||||||
|
/// </summary>
|
||||||
|
worksheet_iterator() = default;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructs a worksheet iterator from a workbook and sheet index.
|
/// Constructs a worksheet iterator from a workbook and sheet index.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -135,12 +140,12 @@ private:
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The target workbook of this iterator.
|
/// The target workbook of this iterator.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
workbook *wb_;
|
workbook *wb_ = nullptr;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The index of the worksheet in wb_ this iterator is currently pointing to.
|
/// The index of the worksheet in wb_ this iterator is currently pointing to.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
std::size_t index_;
|
std::size_t index_ = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -159,6 +164,11 @@ public:
|
||||||
using pointer = const worksheet *;
|
using pointer = const worksheet *;
|
||||||
using reference = const worksheet; // intentionally value
|
using reference = const worksheet; // intentionally value
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Default Constructs a worksheet iterator
|
||||||
|
/// </summary>
|
||||||
|
const_worksheet_iterator() = default;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructs a worksheet iterator from a workbook and sheet index.
|
/// Constructs a worksheet iterator from a workbook and sheet index.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -234,12 +244,12 @@ private:
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The target workbook of this iterator.
|
/// The target workbook of this iterator.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
const workbook *wb_;
|
const workbook *wb_ = nullptr;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The index of the worksheet in wb_ this iterator is currently pointing to.
|
/// The index of the worksheet in wb_ this iterator is currently pointing to.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
std::size_t index_;
|
std::size_t index_ = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace xlnt
|
} // namespace xlnt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user