UCommon
stream.h File Reference

Any ucommon streaming classes that are built from std::streamio facilities and that support ANSI C++ stream operators. More...

#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/thread.h>
#include <ucommon/socket.h>
#include <ucommon/fsys.h>
#include <ucommon/shell.h>
#include <iostream>
#include <fstream>
Include dependency graph for stream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ucommon::_stream_operators
 At least with gcc, linking of stream operators was broken. More...
 
class  ucommon::filestream
 Streamable file class based on low level fsys io. More...
 
class  ucommon::imemstream
 Stream class to read from a memory buffer. More...
 
class  ucommon::omemstream
 Stream class to write to memory buffer. More...
 
class  ucommon::pipestream
 Streamable pipe socket connection. More...
 
class  ucommon::StreamBuffer
 Common stream buffer for std C++ i/o classes. More...
 
class  ucommon::tcpstream
 Streamable tcp connection between client and server. More...
 

Namespaces

namespace  ucommon
 Common namespace for all ucommon objects.
 

Functions

bool ucommon::getline (std::istream &in, char *buffer, size_t size)
 
std::string & ucommon::operator+ (std::string &target, String &source)
 
std::string & ucommon::operator+= (std::string &target, String &source)
 
std::ostream & ucommon::operator<< (std::ostream &os, Socket::address &addr)
 
std::ostream & ucommon::operator<< (std::ostream &out, const PrintProtocol &format)
 
std::ostream & ucommon::operator<< (std::ostream &out, const string_t &str)
 
std::ostream & ucommon::operator<< (std::ostream &out, const stringlist_t &list)
 
std::istream & ucommon::operator>> (std::istream &in, stringlist_t &list)
 
std::istream & ucommon::operator>> (std::istream &inp, InputProtocol &format)
 
std::istream & ucommon::operator>> (std::istream &inp, string_t &str)
 
bool ucommon::putline (std::ostream &out, const char *buffer)
 

Variables

iostream & std::null
 

Detailed Description

Any ucommon streaming classes that are built from std::streamio facilities and that support ANSI C++ stream operators.

Definition in file stream.h.