#include <Decoder.h>
Public Member Functions | |
unsigned | bytestreamNumber () const |
Decoder ()=delete | |
virtual void | destBufferSetNew (std::vector< SourceDestBuffer > &dbufs)=0 |
virtual size_t | inputProcess (const char *source, const size_t count)=0 |
virtual void | stateReset ()=0 |
virtual uint64_t | totalRecordsCompleted ()=0 |
virtual | ~Decoder ()=default |
Static Public Member Functions | |
static std::shared_ptr< Decoder > | DecoderFactory (unsigned bytestreamNumber, const CompressedVectorNodeImpl *cVector, std::vector< SourceDestBuffer > &dbufs, const ustring &codecPath) |
Protected Member Functions | |
Decoder (unsigned bytestreamNumber) | |
Protected Attributes | |
unsigned int | bytestreamNumber_ |
|
delete |
|
virtualdefault |
|
protected |
unsigned e57::Decoder::bytestreamNumber | ( | ) | const |
References bytestreamNumber_.
Referenced by DecoderFactory().
|
static |
!! verify single dbuf
Get node we are going to decode from the CompressedVector's prototype
Get pointer to parent ImageFileImpl, to call bitsNeeded()
!! need to pick smarter channel buffer sizes, here and elsewhere Constuct Integer decoder with appropriate register size, based on number of bits stored.
Get pointer to parent ImageFileImpl, to call bitsNeeded()
!! need to pick smarter channel buffer sizes, here and elsewhere Construct ScaledInteger dencoder with appropriate register size, based on number of bits stored.
cVector | !! name ok? |
References bytestreamNumber(), e57::CompressedVectorNodeImpl::childCount(), e57::E57_ERROR_BAD_PROTOTYPE, e57::E57_FLOAT, e57::E57_INTEGER, e57::E57_SCALED_INTEGER, e57::E57_STRING, e57::CompressedVectorNodeImpl::getPrototype(), and e57::toString().
Referenced by e57::CompressedVectorReaderImpl::CompressedVectorReaderImpl().
|
pure virtual |
Implemented in e57::BitpackDecoder, and e57::ConstantIntegerDecoder.
|
pure virtual |
Implemented in e57::BitpackDecoder, and e57::ConstantIntegerDecoder.
|
pure virtual |
Implemented in e57::BitpackDecoder, and e57::ConstantIntegerDecoder.
|
pure virtual |
Implemented in e57::BitpackDecoder, and e57::ConstantIntegerDecoder.
|
protected |
Referenced by bytestreamNumber().