adtf_file_library  0.13.2
Public Member Functions | List of all members
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:

Copyright © CARIAD SE.
Generated on Mon Jun 10 2024 by doxygen 1.9.1
GIT Commit Hash: eb3af397a6b49ad6fcad9a60d8277d909b458b48