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

#include <bytestreamin_file.hpp>

Inheritance diagram for ByteStreamInFile:
Inheritance graph
[legend]

Public Member Functions

 ByteStreamInFile (FILE *file)
 
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
 
 ~ByteStreamInFile ()
 
- 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

FILE * file
 

Detailed Description

Definition at line 43 of file bytestreamin_file.hpp.

Constructor & Destructor Documentation

◆ ByteStreamInFile()

ByteStreamInFile::ByteStreamInFile ( FILE *  file)
inline

Definition at line 105 of file bytestreamin_file.hpp.

◆ ~ByteStreamInFile()

ByteStreamInFile::~ByteStreamInFile ( )
inline

Definition at line 60 of file bytestreamin_file.hpp.

Member Function Documentation

◆ getByte()

U32 ByteStreamInFile::getByte ( )
inlinevirtual

Implements ByteStreamIn.

Definition at line 110 of file bytestreamin_file.hpp.

◆ getBytes()

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

Implements ByteStreamIn.

Definition at line 120 of file bytestreamin_file.hpp.

◆ isSeekable()

BOOL ByteStreamInFile::isSeekable ( ) const
inlinevirtual

Implements ByteStreamIn.

Definition at line 128 of file bytestreamin_file.hpp.

◆ seek()

BOOL ByteStreamInFile::seek ( const I64  position)
inlinevirtual

Implements ByteStreamIn.

Definition at line 142 of file bytestreamin_file.hpp.

◆ seekEnd()

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

Implements ByteStreamIn.

Definition at line 151 of file bytestreamin_file.hpp.

◆ tell()

I64 ByteStreamInFile::tell ( ) const
inlinevirtual

Implements ByteStreamIn.

Definition at line 133 of file bytestreamin_file.hpp.

Member Data Documentation

◆ file

FILE* ByteStreamInFile::file
protected

Definition at line 60 of file bytestreamin_file.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