Thrill  0.1
WriteStream Class Referenceabstract

Detailed Description

Writer object to output data to any supported URI.

Definition at line 135 of file file_io.hpp.

+ Inheritance diagram for WriteStream:
+ Collaboration diagram for WriteStream:

#include <file_io.hpp>

Public Member Functions

virtual ~WriteStream ()
virtual void close ()=0
virtual ssize_t write (const void *data, size_t size)=0
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter () noexcept
 new objects have zero reference count More...
 ReferenceCounter (const ReferenceCounter &) noexcept
 coping still creates a new object with zero reference count More...
 ~ReferenceCounter ()
bool dec_reference () const noexcept
 Call whenever resetting (i.e. More...
void inc_reference () const noexcept
 Call whenever setting a pointer to the object. More...
ReferenceCounteroperator= (const ReferenceCounter &) noexcept
 assignment operator, leaves pointers unchanged More...
size_t reference_count () const noexcept
 Return the number of references to this object (for debugging) More...
bool unique () const noexcept
 Test if the ReferenceCounter is referenced by only one CountingPtr. More...

Constructor & Destructor Documentation

◆ ~WriteStream()

~WriteStream ( )

Definition at line 209 of file file_io.cpp.

Member Function Documentation

◆ close()

virtual void close ( )
pure virtual

◆ write()

virtual ssize_t write ( const void *  data,
size_t  size 
pure virtual

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