alternative Standard Libary  0.29.8
std::stream Klassenreferenz

#include <stream.hpp>

+ Klassendiagramm für std::stream:

Öffentliche Methoden

 stream ()
 
 stream (bool canread, bool canwrite, bool canseek)
 
 stream (const stream &st)
 
virtual ~stream ()
 
virtual size_t seek (size_t off, seek_t org)
 
virtual bool canRead ()
 
virtual bool canSeek ()
 
virtual bool canWrite ()
 
virtual void clear ()
 
virtual void write (char c)
 
virtual char read ()
 
virtual size_t read (void *data, size_t offset, size_t size)
 
virtual size_t write (const void *data, size_t offset, size_t size)
 
virtual long position ()
 
virtual long size ()
 
virtual bool iseof ()
 
virtual void flush ()
 

Geschützte Attribute

bool m_canRead
 
bool m_canWrite
 
bool m_canSeek
 

Ausführliche Beschreibung

Beschreibung der Konstruktoren und Destruktoren

◆ stream() [1/3]

std::stream::stream ( )
inline
51 { }

◆ stream() [2/3]

std::stream::stream ( bool  canread,
bool  canwrite,
bool  canseek 
)
inline
53  : m_canRead(canread), m_canWrite(canwrite), m_canSeek(canseek) { }
bool m_canWrite
Definition: stream.hpp:80
bool m_canSeek
Definition: stream.hpp:81
bool m_canRead
Definition: stream.hpp:79

◆ stream() [3/3]

std::stream::stream ( const stream st)
inline
55  : m_canRead(st.m_canRead), m_canWrite(st.m_canWrite), m_canSeek(st.m_canSeek) { }
bool m_canWrite
Definition: stream.hpp:80
bool m_canSeek
Definition: stream.hpp:81
bool m_canRead
Definition: stream.hpp:79

◆ ~stream()

virtual std::stream::~stream ( )
inlinevirtual
57 { }

Dokumentation der Elementfunktionen

◆ canRead()

virtual bool std::stream::canRead ( )
inlinevirtual
61 { return m_canRead; }
bool m_canRead
Definition: stream.hpp:79

◆ canSeek()

virtual bool std::stream::canSeek ( )
inlinevirtual
62 { return m_canSeek; }
bool m_canSeek
Definition: stream.hpp:81

◆ canWrite()

virtual bool std::stream::canWrite ( )
inlinevirtual
63 { return m_canWrite; }
bool m_canWrite
Definition: stream.hpp:80

◆ clear()

virtual void std::stream::clear ( )
inlinevirtual

Erneute Implementation in std::filestream.

65 { }

◆ flush()

virtual void std::stream::flush ( )
inlinevirtual

Erneute Implementation in std::filestream.

75 { }

◆ iseof()

virtual bool std::stream::iseof ( )
inlinevirtual

Erneute Implementation in std::filestream.

74 { return false; }

◆ position()

virtual long std::stream::position ( )
inlinevirtual

Erneute Implementation in std::filestream.

72 { return 0; }

◆ read() [1/2]

virtual char std::stream::read ( )
inlinevirtual

Erneute Implementation in std::filestream.

68 { return ' '; }

◆ read() [2/2]

virtual size_t std::stream::read ( void *  data,
size_t  offset,
size_t  size 
)
inlinevirtual

Erneute Implementation in std::filestream.

70 { return 0; }

◆ seek()

virtual size_t std::stream::seek ( size_t  off,
seek_t  org 
)
inlinevirtual

Erneute Implementation in std::filestream.

59 { return 0; }

◆ size()

virtual long std::stream::size ( )
inlinevirtual

Erneute Implementation in std::filestream.

73 { return 0; }

◆ write() [1/2]

virtual void std::stream::write ( char  c)
inlinevirtual

Erneute Implementation in std::filestream.

67 { }

◆ write() [2/2]

virtual size_t std::stream::write ( const void *  data,
size_t  offset,
size_t  size 
)
inlinevirtual

Erneute Implementation in std::filestream.

71 { return 0; }

Dokumentation der Datenelemente

◆ m_canRead

bool std::stream::m_canRead
protected

◆ m_canSeek

bool std::stream::m_canSeek
protected

◆ m_canWrite

bool std::stream::m_canWrite
protected

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: