Static Public Member Functions | List of all members
Streams Class Referencefinal

Utilities for streams. More...

#include <Streams.hpp>

Static Public Member Functions

static void consume (std::ostream &dst, std::istream &src)
 Consume all the data from the supplied input stream into the supplied output stream. More...
 
static std::vector< std::string > readLinesToVector (std::istream &inputStream)
 Read all lines of text from the supplied input stream into a vector. More...
 

Detailed Description

Utilities for streams.

Member Function Documentation

◆ consume()

static void consume ( std::ostream &  dst,
std::istream &  src 
)
inlinestatic

Consume all the data from the supplied input stream into the supplied output stream.

◆ readLinesToVector()

static std::vector<std::string> readLinesToVector ( std::istream &  inputStream)
inlinestatic

Read all lines of text from the supplied input stream into a vector.


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