|
fw4spl
|
Read CSV file and returns parsed tokens. The input file is supposed to use comma separator, but another separator can be used when reading file. More...
#include <CsvIO.hpp>
Public Types | |
| typedef std::vector< std::string > | TokenContainerType |
| Containers to store parsed tokens. | |
Public Member Functions | |
| FWGDCMIO_API | CsvIO (std::istream &csvStream) |
| Constructor. More... | |
| virtual FWGDCMIO_API | ~CsvIO () |
| Desctructor. | |
| FWGDCMIO_API TokenContainerType | getLine (const std::string &separator=",") |
| Returns tokens on next line to read, using comma separator. More... | |
Read CSV file and returns parsed tokens. The input file is supposed to use comma separator, but another separator can be used when reading file.
| fwGdcmIO::helper::CsvIO::CsvIO | ( | std::istream & | csvStream | ) |
| CsvIO::TokenContainerType fwGdcmIO::helper::CsvIO::getLine | ( | const std::string & | separator = "," | ) |
Returns tokens on next line to read, using comma separator.
Other sperators can be used
| separator | torken separator |
Definition at line 42 of file CsvIO.cpp.
Referenced by fwGdcmIO::helper::SegmentedPropertyRegistry::SegmentedPropertyRegistry().
Here is the caller graph for this function: