List of all members
mootio::micxxstream Class Reference
Inheritance diagram for mootio::micxxstream:
Inheritance graph
[legend]
Collaboration diagram for mootio::micxxstream:
Collaboration graph
[legend]

Public Member Functions

Constructors etc.
 micxxstream (std::istream *streamptr=__null)
 
 micxxstream (std::istream &istream)
 
 ~micxxstream (void)
 
Input Methods
virtual ByteCount read (char *buf, size_t n)
 
virtual int getbyte (void)
 
- Public Member Functions inherited from mootio::mcxxstream< std::istream >
 mcxxstream (std::istream *streamptr=__null)
 
 mcxxstream (std::istream &stream)
 
virtual ~mcxxstream (void)
 
virtual bool valid (void)
 
virtual bool eof (void)
 
- Public Member Functions inherited from mootio::mstream
 mstream (const std::string &myname="")
 
virtual ~mstream (void)
 
 operator bool (void)
 
virtual std::string errmsg (void)
 
virtual bool reopen (void)
 
virtual bool close (void)
 
- Public Member Functions inherited from mootio::mistream
 mistream (void)
 
virtual ~mistream (void)
 
virtual ByteCount getline (std::string &s, const std::string &delim="\")
 

Additional Inherited Members

- Public Attributes inherited from mootio::mcxxstream< std::istream >
std::istream * streamp
 pointer to underlying stream More...
 
- Public Attributes inherited from mootio::mstream
std::string name
 symbolic name of this stream More...
 

Detailed Description

Wrapper for C++ input streams (std::istream)

Constructor & Destructor Documentation

◆ micxxstream() [1/2]

mootio::micxxstream::micxxstream ( std::istream *  streamptr = __null)
inline

Default constructor

◆ micxxstream() [2/2]

mootio::micxxstream::micxxstream ( std::istream &  istream)
inline

Reference-based constructor

◆ ~micxxstream()

mootio::micxxstream::~micxxstream ( void  )
inline

Destructor

Member Function Documentation

◆ read()

virtual ByteCount mootio::micxxstream::read ( char *  buf,
size_t  n 
)
inlinevirtual

Read up to
bytes of data into , returns number of bytes actually read.

Reimplemented from mootio::mistream.

◆ getbyte()

virtual int mootio::micxxstream::getbyte ( void  )
inlinevirtual

Read a single byte of data. Returns EOF on eof.

Reimplemented from mootio::mistream.


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