| 
    xlnt - community edition
    
   | 
 
An iterator which is used to iterate over the worksheets in a workbook. More...
#include <worksheet_iterator.hpp>
Public Types | |
| using | iterator_category = std::bidirectional_iterator_tag | 
| iterator tags required for use with standard algorithms and adapters  More... | |
| using | value_type = worksheet | 
| using | difference_type = std::ptrdiff_t | 
| using | pointer = worksheet * | 
| using | reference = worksheet | 
Public Member Functions | |
| worksheet_iterator ()=default | |
| Default Constructs a worksheet iterator  More... | |
| worksheet_iterator (workbook &wb, std::size_t index) | |
| Constructs a worksheet iterator from a workbook and sheet index.  More... | |
| worksheet_iterator (const worksheet_iterator &)=default | |
| Copy constructs a worksheet iterator from another iterator.  More... | |
| worksheet_iterator & | operator= (const worksheet_iterator &)=default | 
| Copy assigns the iterator so that it points to the same worksheet in the same workbook.  More... | |
| worksheet_iterator (worksheet_iterator &&)=default | |
| Move constructs a worksheet iterator from a temporary iterator.  More... | |
| worksheet_iterator & | operator= (worksheet_iterator &&)=default | 
| Move assign the iterator from a temporary iterator  More... | |
| ~worksheet_iterator ()=default | |
| Default destructor  More... | |
| reference | operator* () | 
| Dereferences the iterator to return the worksheet it is pointing to. If the iterator points to one-past-the-end of the workbook, an invalid_parameter exception will be thrown.  More... | |
| const reference | operator* () const | 
| Dereferences the iterator to return the worksheet it is pointing to. If the iterator points to one-past-the-end of the workbook, an invalid_parameter exception will be thrown.  More... | |
| bool | operator== (const worksheet_iterator &comparand) const | 
| Returns true if this iterator points to the same worksheet as comparand.  More... | |
| bool | operator!= (const worksheet_iterator &comparand) const | 
| Returns true if this iterator doesn't point to the same worksheet as comparand.  More... | |
| worksheet_iterator | operator++ (int) | 
| Post-increment the iterator's internal workseet index. Returns a copy of the iterator as it was before being incremented.  More... | |
| worksheet_iterator & | operator++ () | 
| Pre-increment the iterator's internal workseet index. Returns a refernce to the same iterator.  More... | |
| worksheet_iterator | operator-- (int) | 
| Post-decrement the iterator's internal workseet index. Returns a copy of the iterator as it was before being incremented.  More... | |
| worksheet_iterator & | operator-- () | 
| Pre-decrement the iterator's internal workseet index. Returns a refernce to the same iterator.  More... | |
An iterator which is used to iterate over the worksheets in a workbook.
| using xlnt::worksheet_iterator::iterator_category = std::bidirectional_iterator_tag | 
iterator tags required for use with standard algorithms and adapters
      
  | 
  default | 
Default Constructs a worksheet iterator
| xlnt::worksheet_iterator::worksheet_iterator | ( | workbook & | wb, | 
| std::size_t | index | ||
| ) | 
Constructs a worksheet iterator from a workbook and sheet index.
      
  | 
  default | 
Copy constructs a worksheet iterator from another iterator.
      
  | 
  default | 
Move constructs a worksheet iterator from a temporary iterator.
      
  | 
  default | 
Default destructor
| bool xlnt::worksheet_iterator::operator!= | ( | const worksheet_iterator & | comparand | ) | const | 
Returns true if this iterator doesn't point to the same worksheet as comparand.
| reference xlnt::worksheet_iterator::operator* | ( | ) | 
Dereferences the iterator to return the worksheet it is pointing to. If the iterator points to one-past-the-end of the workbook, an invalid_parameter exception will be thrown.
| const reference xlnt::worksheet_iterator::operator* | ( | ) | const | 
Dereferences the iterator to return the worksheet it is pointing to. If the iterator points to one-past-the-end of the workbook, an invalid_parameter exception will be thrown.
| worksheet_iterator xlnt::worksheet_iterator::operator++ | ( | int | ) | 
Post-increment the iterator's internal workseet index. Returns a copy of the iterator as it was before being incremented.
| worksheet_iterator& xlnt::worksheet_iterator::operator++ | ( | ) | 
Pre-increment the iterator's internal workseet index. Returns a refernce to the same iterator.
| worksheet_iterator xlnt::worksheet_iterator::operator-- | ( | int | ) | 
Post-decrement the iterator's internal workseet index. Returns a copy of the iterator as it was before being incremented.
| worksheet_iterator& xlnt::worksheet_iterator::operator-- | ( | ) | 
Pre-decrement the iterator's internal workseet index. Returns a refernce to the same iterator.
      
  | 
  default | 
Copy assigns the iterator so that it points to the same worksheet in the same workbook.
      
  | 
  default | 
Move assign the iterator from a temporary iterator
| bool xlnt::worksheet_iterator::operator== | ( | const worksheet_iterator & | comparand | ) | const | 
Returns true if this iterator points to the same worksheet as comparand.
 1.8.13