Tanl Linguistic Pipeline |
Platform independent IO. More...
Classes | |
class | File |
class | FileHandle |
FileHandle abstract from OS. More... | |
struct | Format |
A class to perform formatted output. More... | |
class | MappedFileView |
A mappedFile is an object that maps a file into memory (via the Unix system call mmap(2)) allowing it to be accessed via iterators. More... | |
class | mappedFile |
Map a whole file. More... | |
class | ZlibError |
Thrown when a zlib call fails. More... | |
class | MappedGzFileView |
portion of gzip-compressed file mapped into memory. More... | |
class | MappedGzFile |
gzip-compressed file uncompressed and mapped into memory. More... | |
struct | pstreams |
Common base class providing constants and typenames. More... | |
class | basic_pstreambuf |
Class template for stream buffer. More... | |
class | pstream_common |
Class template for common base class. More... | |
class | basic_ipstream |
class | basic_opstream |
class | basic_pstream |
class | basic_rpstream |
class | ServerSocket |
Server socket. More... | |
class | AbstractSocket |
Abstract base class for Sockets. More... | |
class | Socket |
This class implements client sockets (also called just "sockets"). More... | |
Typedefs | |
typedef basic_pstreambuf< char > | pstreambuf |
typedef basic_ipstream< char > | ipstream |
typedef basic_opstream< char > | opstream |
typedef basic_pstream< char > | pstream |
typedef basic_rpstream< char > | rpstream |
typedef unsigned long | InetAddress |
Functions | |
template<typename C , typename T > | |
std::basic_ostream< C, T > & | peof (std::basic_ostream< C, T > &s) |
Platform independent IO.
Like the standard IOStreams, PStreams is a set of class templates, taking a character type and traits type.
As with the standard streams they are most likely to be used with char
and the default traits type, so typedefs for this most common case are provided.
The pstream_common
class template is not intended to be used directly, it is used internally to provide the common functionality for the other stream classes.