Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
I/O

These interfaces and their default implementations are used by Bond for performing I/O operations without making assumptions about what underlying I/O library is used. More...

Classes

class  Bond::InputStream
 An abstract interface for performing both unformatted and formatted input operations. More...
 
class  Bond::InputStreamAdaptor
 A wrapper around an InputStream that adds formatted input operations used within the Bond Standard Library. More...
 
class  Bond::MemoryInputStream
 A concrete implementation of InputStream that performs input operations from an in-memory buffer. More...
 
class  Bond::MemoryOutputStream
 A concrete implementation of OuputStream that performs ouput operations to an in-memory buffer. More...
 
class  Bond::MemoryStreamFactory
 A concrete implementation of StreamFactory that instantiates MemoryInputStreams for a fixed collection of DataViews. More...
 
class  Bond::OutputStream
 An abstract interface for performing both unformatted and formatted output operations. More...
 
class  Bond::OutputStreamAdaptor
 A wrapper around an OuputStream that adds formatted output operations used within the Bond Standard Library. More...
 
class  Bond::StdioFileHandle
 A handle to a stdio FILE* to ensure that the file is properly disposed using RAII. More...
 
class  Bond::StdioInputStream
 A concrete implementation of InputStream that performs input operations from a stdio FILE*. More...
 
class  Bond::StdioOutputStream
 A concrete implementation of OuputStream that performs input operations to a stdio FILE*. More...
 
class  Bond::StdioStreamFactory
 A concrete implementation of StreamFactory that creates instances of StdioInputStream and StdioOutputStream. More...
 
class  Bond::Stream
 A base interface for performing IO operations. More...
 
class  Bond::StreamFactory
 An abstract interface for creating file streams without being coupled to any particular concrete type of stream. More...
 

Typedefs

typedef Allocator::ObjectHandle< InputStreamBond::InputStreamHandle
 An owning pointer to a dynamically allocated InputStream. More...
 
typedef Allocator::ObjectHandle< OutputStreamBond::OutputStreamHandle
 An owning pointer to a dynamically allocated OutputStream. More...
 

Detailed Description

These interfaces and their default implementations are used by Bond for performing I/O operations without making assumptions about what underlying I/O library is used.

Typedef Documentation

◆ InputStreamHandle

An owning pointer to a dynamically allocated InputStream.

◆ OutputStreamHandle

An owning pointer to a dynamically allocated OutputStream.