MDF Lib 2.2
Interface against MDF 3/4 files
Loading...
Searching...
No Matches
ichannelconversion.h File Reference

Defines a channel conversion (CC) block.

#include <optional>
#include <sstream>
#include <string>
#include <vector>
#include <variant>
#include "mdf/iblock.h"
#include "mdf/imetadata.h"
#include "mdf/mdfhelper.h"
Include dependency graph for ichannelconversion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mdf::TextConversion
 MDF 3 text conversion structure. Not used in MDF 4. Key to text conversion. More...
 
struct  mdf::TextRangeConversion
 MDF 3 range conversion structure. Not used in MDF 4. Key min/max to text conversion. More...
 
class  mdf::IChannelConversion
 Defines a channel conversion (CC) block. More...
 

Namespaces

namespace  mdf
 Main namespace for the MDF library.
 
namespace  mdf::CcFlag
 Channel conversion flags.
 

Enumerations

enum class  mdf::ConversionType : uint8_t {
  mdf::NoConversion = 0 , mdf::Linear = 1 , mdf::Rational = 2 , mdf::Algebraic = 3 ,
  mdf::ValueToValueInterpolation = 4 , mdf::ValueToValue = 5 , mdf::ValueRangeToValue = 6 , mdf::ValueToText = 7 ,
  mdf::ValueRangeToText = 8 , mdf::TextToValue = 9 , mdf::TextToTranslation = 10 , mdf::BitfieldToText = 11 ,
  mdf::Polynomial = 30 , mdf::Exponential = 31 , mdf::Logarithmic = 32 , mdf::DateConversion = 33 ,
  mdf::TimeConversion = 34
}
 Type of conversion formula. More...
 

Variables

constexpr uint16_t mdf::CcFlag::PrecisionValid = 0x0001
 Precision is used.
 
constexpr uint16_t mdf::CcFlag::RangeValid = 0x0002
 Range is used.
 
constexpr uint16_t mdf::CcFlag::StatusString = 0x0004
 Status string flag.