Vince's CSV Parser
Loading...
Searching...
No Matches
csv::CSVRow::iterator Class Reference

A random access iterator over the contents of a CSV row. More...

#include <csv_row.hpp>

Public Member Functions

 iterator (const CSVRow *, int i)
 
reference operator* () const
 
pointer operator-> () const
 
iterator operator++ (int)
 
iterator & operator++ ()
 
iterator operator-- (int)
 
iterator & operator-- ()
 
iterator operator+ (difference_type n) const
 
iterator operator- (difference_type n) const
 
iterator & operator+= (difference_type n)
 
iterator & operator-= (difference_type n)
 
difference_type operator- (const iterator &other) const noexcept
 
CONSTEXPR bool operator== (const iterator &other) const noexcept
 Two iterators are equal if they point to the same field.
 
CONSTEXPR bool operator!= (const iterator &other) const noexcept
 

Public Attributes

friend CSVRow
 

Detailed Description

A random access iterator over the contents of a CSV row.

Each iterator points to a CSVField.

Definition at line 643 of file csv_row.hpp.

Member Function Documentation

◆ operator!=()

CONSTEXPR bool csv::CSVRow::iterator::operator!= ( const iterator &  other) const
inlinenoexcept

Definition at line 672 of file csv_row.hpp.

◆ operator*()

CSVRow::iterator::reference csv::CSVRow::iterator::operator* ( ) const

Definition at line 201 of file csv_row.cpp.

◆ operator+()

CSVRow::iterator csv::CSVRow::iterator::operator+ ( difference_type  n) const

Definition at line 242 of file csv_row.cpp.

◆ operator++() [1/2]

CSVRow::iterator & csv::CSVRow::iterator::operator++ ( )

Definition at line 209 of file csv_row.cpp.

◆ operator++() [2/2]

CSVRow::iterator csv::CSVRow::iterator::operator++ ( int  )

Definition at line 220 of file csv_row.cpp.

◆ operator+=()

CSVRow::iterator & csv::CSVRow::iterator::operator+= ( difference_type  n)

Definition at line 252 of file csv_row.cpp.

◆ operator-() [1/2]

CSVRow::iterator::difference_type csv::CSVRow::iterator::operator- ( const iterator &  other) const
noexcept

Definition at line 262 of file csv_row.cpp.

◆ operator-() [2/2]

CSVRow::iterator csv::CSVRow::iterator::operator- ( difference_type  n) const

Definition at line 247 of file csv_row.cpp.

◆ operator--() [1/2]

CSVRow::iterator & csv::CSVRow::iterator::operator-- ( )

Definition at line 227 of file csv_row.cpp.

◆ operator--() [2/2]

CSVRow::iterator csv::CSVRow::iterator::operator-- ( int  )

Definition at line 235 of file csv_row.cpp.

◆ operator-=()

CSVRow::iterator & csv::CSVRow::iterator::operator-= ( difference_type  n)

Definition at line 257 of file csv_row.cpp.

◆ operator->()

CSVRow::iterator::pointer csv::CSVRow::iterator::operator-> ( ) const

Definition at line 205 of file csv_row.cpp.

◆ operator==()

CONSTEXPR bool csv::CSVRow::iterator::operator== ( const iterator &  other) const
inlinenoexcept

Two iterators are equal if they point to the same field.

Definition at line 668 of file csv_row.hpp.

Member Data Documentation

◆ CSVRow

friend csv::CSVRow::iterator::CSVRow

Definition at line 675 of file csv_row.hpp.


The documentation for this class was generated from the following files: