Public Member Functions | Protected Attributes | List of all members
ByteStreamInIstream Class Reference

#include <bytestreamin_istream.hpp>

Inheritance diagram for ByteStreamInIstream:
Inheritance graph
[legend]

Public Member Functions

 ByteStreamInIstream (istream &stream)
 
U32 getByte ()
 
void getBytes (U8 *bytes, const U32 num_bytes)
 
BOOL isSeekable () const
 
BOOL seek (const I64 position)
 
BOOL seekEnd (const I64 distance=0)
 
I64 tell () const
 
 ~ByteStreamInIstream ()
 
- Public Member Functions inherited from ByteStreamIn
virtual void get16bitsBE (U8 *bytes)=0
 
virtual void get16bitsLE (U8 *bytes)=0
 
virtual void get32bitsBE (U8 *bytes)=0
 
virtual void get32bitsLE (U8 *bytes)=0
 
virtual void get64bitsBE (U8 *bytes)=0
 
virtual void get64bitsLE (U8 *bytes)=0
 
virtual ~ByteStreamIn ()
 

Protected Attributes

istream & stream
 

Detailed Description

Definition at line 44 of file bytestreamin_istream.hpp.

Constructor & Destructor Documentation

◆ ByteStreamInIstream()

ByteStreamInIstream::ByteStreamInIstream ( istream &  stream)
inline

Definition at line 106 of file bytestreamin_istream.hpp.

◆ ~ByteStreamInIstream()

ByteStreamInIstream::~ByteStreamInIstream ( )
inline

Definition at line 61 of file bytestreamin_istream.hpp.

Member Function Documentation

◆ getByte()

U32 ByteStreamInIstream::getByte ( )
inlinevirtual

Implements ByteStreamIn.

Definition at line 111 of file bytestreamin_istream.hpp.

◆ getBytes()

void ByteStreamInIstream::getBytes ( U8 bytes,
const U32  num_bytes 
)
inlinevirtual

Implements ByteStreamIn.

Definition at line 121 of file bytestreamin_istream.hpp.

◆ isSeekable()

BOOL ByteStreamInIstream::isSeekable ( ) const
inlinevirtual

Implements ByteStreamIn.

Definition at line 130 of file bytestreamin_istream.hpp.

◆ seek()

BOOL ByteStreamInIstream::seek ( const I64  position)
inlinevirtual

Implements ByteStreamIn.

Definition at line 140 of file bytestreamin_istream.hpp.

◆ seekEnd()

BOOL ByteStreamInIstream::seekEnd ( const I64  distance = 0)
inlinevirtual

Implements ByteStreamIn.

Definition at line 146 of file bytestreamin_istream.hpp.

◆ tell()

I64 ByteStreamInIstream::tell ( ) const
inlinevirtual

Implements ByteStreamIn.

Definition at line 135 of file bytestreamin_istream.hpp.

Member Data Documentation

◆ stream

istream& ByteStreamInIstream::stream
protected

Definition at line 61 of file bytestreamin_istream.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26