PVData C++  8.0.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
epics::pvData::ScalarTypeID< T > Struct Template Reference

#include <pv/pvIntrospect.h>

Detailed Description

template<typename T>
struct epics::pvData::ScalarTypeID< T >

Define a compile time mapping from type to enum value.

ScalarType code = (ScalarType)ScalarTypeID<int8>::value;
assert(code==pvByte);

For unspecified types this evaluates to an invalid ScalarType value (eg -1).

Definition at line 1423 of file pvIntrospect.h.


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