OEFieldType

template<class T> class OEFieldType

The OEFieldType class is a templated class used to construct OEField objects for interacting with :oe:cls:`OEDataFlow::OERecord`s.

Constructor

template <class T> OEFieldType<T> ()

Generally, OEFieldType objects are not constructed directly, but are used from the Types namespace.

GetName

std::string GetName() const

Returns the name of this field type.

ToBytes

static OEBytes ToBytes(const T &val)

Returns the binary representation of the value val.

FromBytes

static bool FromBytes(T &val, const OEBytes &data)

Returns true if a T value can be read from the provided bytes.