Scopira 20080306

scopira::tool::stringiflow Class Reference

#include <stringflow.h>

Inheritance diagram for scopira::tool::stringiflow:
scopira::tool::iflow_i scopira::tool::flow_i scopira::tool::object

List of all members.

Public Member Functions

 stringiflow (const std::string *data)
virtual bool failed (void) const
 are we in a failed state?
virtual size_t read (byte_t *_buf, size_t _maxsize)
 read raw block data, returns num read in
void open (const std::string *data)
 simple opender

Protected Attributes

const std::string * dm_data
 the data string
std::string::size_type dm_idx

Detailed Description

A wrapper flow that reads data from an already existing STL string.

Author:
Aleksander Demko

Constructor & Destructor Documentation

scopira::tool::stringiflow::stringiflow ( const std::string *  data)

Constructor. Pass that string that will be used as input. Null is valid, but unsable (in which case, follow with an open() call.

Author:
Aleksander Demko

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