ADTF File Library
Loading...
Searching...
No Matches
ifhd::v201_v301::SourceFile Class Referenceabstract

#include <indexedfilereader_v201_v301.h>

Public Member Functions

virtual ~SourceFile ()=default
 
virtual void read (void *destination, uint64_t count)=0
 
virtual void seek (uint64_t offset)=0
 

Detailed Description

Interface for accessing file data.

Constructor & Destructor Documentation

◆ ~SourceFile()

virtual ifhd::v201_v301::SourceFile::~SourceFile ( )
virtualdefault

Destructor.

Member Function Documentation

◆ read()

virtual void ifhd::v201_v301::SourceFile::read ( void * destination,
uint64_t count )
pure virtual

read count bytes.

Parameters
[out]destinationthe destination buffer.
[in]countThe amount of bytes to read.
Exceptions
incase of error.

◆ seek()

virtual void ifhd::v201_v301::SourceFile::seek ( uint64_t offset)
pure virtual

Seek to the given file offset

Parameters
[in]offsetThe offset from the beginning of the file to seek to.
Exceptions
incase of error.

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