Public Attributes | List of all members
mootio::mcxxstream< _StreamClass > Class Template Reference
Inheritance diagram for mootio::mcxxstream< _StreamClass >:
Inheritance graph
[legend]
Collaboration diagram for mootio::mcxxstream< _StreamClass >:
Collaboration graph
[legend]

Public Member Functions

Constructors etc.
 mcxxstream (_StreamClass *streamptr=__null)
 
 mcxxstream (_StreamClass &stream)
 
virtual ~mcxxstream (void)
 
Integrity Tests
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 Attributes

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

Constructor & Destructor Documentation

◆ mcxxstream() [1/2]

template<class _StreamClass>
mootio::mcxxstream< _StreamClass >::mcxxstream ( _StreamClass *  streamptr = __null)
inline

Default constructor

◆ mcxxstream() [2/2]

template<class _StreamClass>
mootio::mcxxstream< _StreamClass >::mcxxstream ( _StreamClass &  stream)
inline

Reference-based constructor

◆ ~mcxxstream()

template<class _StreamClass>
virtual mootio::mcxxstream< _StreamClass >::~mcxxstream ( void  )
inlinevirtual

Destructor

Member Function Documentation

◆ valid()

template<class _StreamClass>
virtual bool mootio::mcxxstream< _StreamClass >::valid ( void  )
inlinevirtual

Test stream integrity

Reimplemented from mootio::mstream.

◆ eof()

template<class _StreamClass>
virtual bool mootio::mcxxstream< _StreamClass >::eof ( void  )
inlinevirtual

Test for eof

Reimplemented from mootio::mstream.

Member Data Documentation

◆ streamp

template<class _StreamClass>
_StreamClass* mootio::mcxxstream< _StreamClass >::streamp

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