soma-io 6.0.6
soma::StreamUtil Class Reference

#include <soma-io/utilities/asciidatasourcetraits.h>

Static Public Member Functions

static std::string readWhile (DataSource &, const std::string &chars=" \t\n\r", bool ascii=true)
 
static std::string readUntil (DataSource &, const std::string &chars=" \t\n\r", bool ascii=true)
 
static bool skip (DataSource &, const std::string &chars=" \t\n\r", bool ascii=true)
 
static bool skipUntil (DataSource &, const std::string &chars=" \t\n\r", bool ascii=true)
 
static bool getline (DataSource &ds, std::string &)
 
static bool skip (std::istream &, const std::string &chars=" \t\n\r", bool ascii=true)
 

Detailed Description

Definition at line 67 of file asciidatasourcetraits.h.

Member Function Documentation

◆ getline()

static bool soma::StreamUtil::getline ( DataSource & ds,
std::string &  )
static

◆ readUntil()

static std::string soma::StreamUtil::readUntil ( DataSource & ,
const std::string & chars = " \t\n\r",
bool ascii = true )
static

◆ readWhile()

static std::string soma::StreamUtil::readWhile ( DataSource & ,
const std::string & chars = " \t\n\r",
bool ascii = true )
static

◆ skip() [1/2]

static bool soma::StreamUtil::skip ( DataSource & ,
const std::string & chars = " \t\n\r",
bool ascii = true )
static

◆ skip() [2/2]

static bool soma::StreamUtil::skip ( std::istream & ,
const std::string & chars = " \t\n\r",
bool ascii = true )
static

◆ skipUntil()

static bool soma::StreamUtil::skipUntil ( DataSource & ,
const std::string & chars = " \t\n\r",
bool ascii = true )
static

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