E57FileInputStream Class Reference

Public Member Functions

XMLFilePos curPos () const override
 
 E57FileInputStream (CheckedFile *cf, uint64_t logicalStart, uint64_t logicalLength)
 
 E57FileInputStream (const E57FileInputStream &)=delete
 
const XMLCh * getContentType () const override
 
E57FileInputStreamoperator= (const E57FileInputStream &)=delete
 
XMLSize_t readBytes (XMLByte *const toFill, const XMLSize_t maxToRead) override
 
 ~E57FileInputStream () override=default
 

Constructor & Destructor Documentation

◆ E57FileInputStream() [1/2]

E57FileInputStream::E57FileInputStream ( CheckedFile cf,
uint64_t  logicalStart,
uint64_t  logicalLength 
)

◆ ~E57FileInputStream()

E57FileInputStream::~E57FileInputStream ( )
overridedefault

◆ E57FileInputStream() [2/2]

E57FileInputStream::E57FileInputStream ( const E57FileInputStream )
delete

Member Function Documentation

◆ curPos()

XMLFilePos E57FileInputStream::curPos ( ) const
override

◆ getContentType()

const XMLCh * E57FileInputStream::getContentType ( ) const
override

◆ operator=()

E57FileInputStream & E57FileInputStream::operator= ( const E57FileInputStream )
delete

◆ readBytes()

XMLSize_t E57FileInputStream::readBytes ( XMLByte *const  toFill,
const XMLSize_t  maxToRead 
)
override

size_t and XMLSize_t should be compatible, should get compiler warning here if not

Be careful if size_t is smaller than int64_t

size_t is at least as big as int64_t

size_t is smaller than int64_t, Calc max that size_t can hold

read smaller of size_max, available ??? redo

References e57::CheckedFile::read(), and e57::CheckedFile::seek().


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