Gazebo Common

API Reference

6.0.1
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

namespace  gz
 Forward declarations for the common classes.
 
namespace  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.
 
bool GZ_COMMON_IO_VISIBLE operator== (const CSVDialect &_lhs, const CSVDialect &_rhs)
 Check CSV dialects for equality.
 
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.