This is Unofficial EPICS BASE Doxygen Site
epics::pvData::detail::asInt< float > Struct Template Reference

#include "byteBuffer.h"

Classes

union  pun
 

Static Public Member Functions

static EPICS_ALWAYS_INLINE float from (uint32 v)
 
static EPICS_ALWAYS_INLINE uint32 to (float v)
 

Detailed Description

template<>
struct epics::pvData::detail::asInt< float >

Definition at line 71 of file byteBuffer.h.

Member Function Documentation

static EPICS_ALWAYS_INLINE float epics::pvData::detail::asInt< float >::from ( uint32  v)
inlinestatic

Definition at line 73 of file byteBuffer.h.

73  {
74  pun P;
75  P.i = v;
76  return P.f;
77  }
static EPICS_ALWAYS_INLINE uint32 epics::pvData::detail::asInt< float >::to ( float  v)
inlinestatic

Definition at line 78 of file byteBuffer.h.

78  {
79  pun P;
80  P.f = v;
81  return P.i;
82  }

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