Scopira
20080306
|
#include <flow.h>
Public Types | |
enum | { input_c = 1, output_c = 2 } |
typedef scopira::tool::byte_t | byte_t |
typedef int | mode_t |
Public Member Functions | |
virtual bool | failed (void) const =0 |
Public Member Functions inherited from scopira::tool::object | |
virtual | ~object () |
int | add_ref (void) const |
bool | sub_ref (void) const |
void | auto_ref (void) const |
int | current_ref (void) const |
virtual scopira::tool::oflow_i & | print (scopira::tool::oflow_i &o) const |
virtual bool | load (scopira::tool::iobjflow_i &in) |
virtual void | save (scopira::tool::oobjflow_i &out) const |
bool | is_alive_object (void) const |
bool | is_dead_object (void) const |
Additional Inherited Members | |
Protected Member Functions inherited from scopira::tool::object | |
object (void) | |
object (bool neverusecounter) | |
This is the base of all flows (both input and output). It introduced a few constants, inheritance from object and a failed state checking method.
typedef scopira::tool::byte_t scopira::tool::flow_i::byte_t |
An 8-bit octect/byte.
typedef int scopira::tool::flow_i::mode_t |
A bit mask of modes.
|
pure virtual |
Is the stream in a failed state?
Implemented in scopira::tool::unixflow, scopira::tool::cacheoflow, scopira::tool::cacheiflow, scopira::tool::netflow, scopira::tool::propoflow, scopira::tool::printoflow, scopira::tool::bufferoflow, scopira::tool::fileflow, scopira::tool::stringoflow, scopira::tool::polyoflow, scopira::tool::bufferiflow, scopira::tool::hexoflow, scopira::tool::stringiflow, scopira::tool::textoflow, scopira::tool::binoflow, scopira::tool::propiflow, scopira::tool::archiveoflow, scopira::tool::distoflow, scopira::tool::hexiflow, scopira::tool::polyiflow, scopira::tool::countoflow, scopira::tool::printiflow, scopira::tool::bufferflow, scopira::tool::hashoflow, scopira::tool::stringflow, scopira::tool::textiflow, scopira::tool::biniflow, scopira::tool::commentiflow, scopira::tool::archiveiflow, scopira::tool::teeoflow, and scopira::tool::nullflow.