IODA Bundle
odc::codec::ShortRealBase< ByteOrder, InternalMissing > Class Template Reference

#include <Real.h>

Inheritance diagram for odc::codec::ShortRealBase< ByteOrder, InternalMissing >:
[legend]
Collaboration diagram for odc::codec::ShortRealBase< ByteOrder, InternalMissing >:
[legend]

Public Member Functions

 ShortRealBase (api::ColumnType type, const std::string &name)
 
 ~ShortRealBase () override
 
- Public Member Functions inherited from odc::core::DataStreamCodec< ByteOrder >
 DataStreamCodec (const std::string &name, api::ColumnType type)
 
void setDataStream (DataStream< ByteOrder > &ds) override
 
void clearDataStream () override
 
void setDataStream (GeneralDataStream &ds)
 
virtual void setDataStream (DataStream< SameByteOrder > &ds)
 
virtual void setDataStream (DataStream< OtherByteOrder > &ds)
 
- Public Member Functions inherited from odc::core::Codec
 Codec (const std::string &name, api::ColumnType type)
 
virtual ~Codec ()
 
virtual std::unique_ptr< Codecclone ()
 
const std::string & name () const
 
char * encode (char *p, const double &d)
 
void setDataStream (GeneralDataStream &ds)
 
virtual void setDataStream (DataStream< SameByteOrder > &ds)
 
virtual void setDataStream (DataStream< OtherByteOrder > &ds)
 
void load (GeneralDataStream &ds)
 
virtual void load (DataStream< SameByteOrder > &ds)
 
virtual void load (DataStream< OtherByteOrder > &ds)
 
void save (GeneralDataStream &ds)
 
virtual void save (DataStream< SameByteOrder > &ds)
 
virtual void save (DataStream< OtherByteOrder > &ds)
 
void resetStats ()
 
virtual void gatherStats (const double &v)
 
void hasMissing (bool h)
 
int32_t hasMissing () const
 
void min (double m)
 
double min () const
 
void max (double m)
 
double max () const
 
void missingValue (double v)
 
double missingValue () const
 
virtual size_t numStrings () const
 
virtual void copyStrings (Codec &rhs)
 
virtual size_t dataSizeDoubles () const
 
virtual void dataSizeDoubles (size_t count)
 

Private Member Functions

unsigned char * encode (unsigned char *p, const double &d) override
 
void decode (double *out) override
 
void skip () override
 

Additional Inherited Members

- Protected Member Functions inherited from odc::core::DataStreamCodec< ByteOrder >
void load (DataStream< ByteOrder > &ds) override
 
void save (DataStream< ByteOrder > &ds) override
 
DataStream< ByteOrder > & ds ()
 
void load (GeneralDataStream &ds)
 
virtual void load (DataStream< SameByteOrder > &ds)
 
virtual void load (DataStream< OtherByteOrder > &ds)
 
void save (GeneralDataStream &ds)
 
virtual void save (DataStream< SameByteOrder > &ds)
 
virtual void save (DataStream< OtherByteOrder > &ds)
 
- Protected Attributes inherited from odc::core::DataStreamCodec< ByteOrder >
DataStream< ByteOrder > * ds_
 
- Protected Attributes inherited from odc::core::Codec
std::string name_
 
int32_t hasMissing_
 
double missingValue_
 
double min_
 
double max_
 
api::ColumnType type_
 

Detailed Description

template<typename ByteOrder, uint32_t InternalMissing>
class odc::codec::ShortRealBase< ByteOrder, InternalMissing >

Definition at line 84 of file Real.h.

Constructor & Destructor Documentation

◆ ShortRealBase()

template<typename ByteOrder , uint32_t InternalMissing>
odc::codec::ShortRealBase< ByteOrder, InternalMissing >::ShortRealBase ( api::ColumnType  type,
const std::string &  name 
)
inline

Definition at line 88 of file Real.h.

◆ ~ShortRealBase()

template<typename ByteOrder , uint32_t InternalMissing>
odc::codec::ShortRealBase< ByteOrder, InternalMissing >::~ShortRealBase ( )
inlineoverride

Definition at line 89 of file Real.h.

Member Function Documentation

◆ decode()

template<typename ByteOrder , uint32_t InternalMissing>
void odc::codec::ShortRealBase< ByteOrder, InternalMissing >::decode ( double *  out)
inlineoverrideprivatevirtual

Implements odc::core::Codec.

Definition at line 111 of file Real.h.

Here is the call graph for this function:

◆ encode()

template<typename ByteOrder , uint32_t InternalMissing>
unsigned char* odc::codec::ShortRealBase< ByteOrder, InternalMissing >::encode ( unsigned char *  p,
const double &  d 
)
inlineoverrideprivatevirtual

Implements odc::core::Codec.

Definition at line 93 of file Real.h.

◆ skip()

template<typename ByteOrder , uint32_t InternalMissing>
void odc::codec::ShortRealBase< ByteOrder, InternalMissing >::skip ( )
inlineoverrideprivatevirtual

Implements odc::core::Codec.

Definition at line 119 of file Real.h.

Here is the call graph for this function:

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