Gazebo Common

API Reference

5.7.0
CSVStreams.hh File Reference
#include <istream>
#include <string>
#include <vector>
#include <gz/common/io/Export.hh>
#include <gz/utils/ImplPtr.hh>

Go to the source code of this file.

Classes

struct  CSVDialect
 A CSV specification. More...
 
class  CSVIStreamIterator
 A single-pass row iterator on an input stream of CSV data. More...
 
struct  CSVToken
 A token in CSV data. More...
 

Namespaces

 gz
 Forward declarations for the common classes.
 
 gz::common
 

Functions

GZ_COMMON_IO_VISIBLE std::istreamExtractCSVToken (std::istream &_stream, CSVToken &_token, const CSVDialect &_dialect=CSVDialect::Unix)
 Extract a single token from an input stream of CSV data. More...
 
bool GZ_COMMON_IO_VISIBLE operator== (const CSVDialect &_lhs, const CSVDialect &_rhs)
 Check CSV dialects for equality. More...
 
GZ_COMMON_IO_VISIBLE std::istreamParseCSVRow (std::istream &_stream, std::vector< std::string > &_row, const CSVDialect &_dialect=CSVDialect::Unix)
 Parse a single row from an input stream of CSV data. More...