Class FieldDecoder

Inheritance Relationships

Derived Types

Class Documentation

class FieldDecoder

Subclassed by Cloudini::FieldDecoderCopy, Cloudini::FieldDecoderFloatN_Lossy, Cloudini::FieldDecoderFloat_Lossy< FloatType >, Cloudini::FieldDecoderFloat_XOR< FloatType >, Cloudini::FieldDecoderInt< IntType >

Public Functions

FieldDecoder() = default
virtual ~FieldDecoder() = default
virtual void decode(ConstBufferView &input, BufferView dest_point_view) = 0

Decode the field data from the input buffer to the output buffer. The input buffer will be advanced, while the dest_point_view must be advanced by the user.BufferView.

Parameters:
  • input – The input buffer containing the pointer to the current point. Advanced automatically.

  • dest_point_view – The output buffer to write the decoded data. Must point at the point.

virtual void reset() = 0