NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Comma separated value (CSV) row class used to parse rows from an input stream and split them into a vector of strin elements. More...
Public Member Functions | |
CSVRow () | |
~CSVRow () | |
std::string const & | operator[] (std::vcl_size_t index) const |
std::vcl_size_t | Size () const |
void | ReadNextRow (std::istream &inStream) |
Comma separated value (CSV) row class used to parse rows from an input stream and split them into a vector of strin elements.
Example usage:
niftk::CSVRow::CSVRow | ( | ) |
Construct CSVRow by allocating the vector
niftk::CSVRow::~CSVRow | ( | ) |
Destructor
|
inline |
Get an element of the row.
void niftk::CSVRow::ReadNextRow | ( | std::istream & | inStream | ) |
Read the next row in the input stream
|
inline |
Return the size of the row (number of elements).