FeeServer::FloatTrait Class Reference
[Services]

#include <feeserver/fee_servt.hh>

List of all members.


Detailed Description

Traits for floating point values.

Static Public Member Functions

static void Copy (const float &src, float &dest)
static bool Compare (const float &v1, const float &v2, const float &threshold)
static bool Equal (const float &v1, const float &v2)
static const char * Format ()
static size_t Size ()

Member Function Documentation

static void FeeServer::FloatTrait::Copy ( const float &  src,
float &  dest 
) [inline, static]

copy value of src to dest

static bool FeeServer::FloatTrait::Compare ( const float &  v1,
const float &  v2,
const float &  threshold 
) [inline, static]

Check if difference between v1 and v2 is not bigger than threshold

static bool FeeServer::FloatTrait::Equal ( const float &  v1,
const float &  v2 
) [inline, static]

Check if v1 and v2 are equal

static const char* FeeServer::FloatTrait::Format (  )  [inline, static]

Return the format string

static size_t FeeServer::FloatTrait::Size (  )  [inline, static]

Get the size (in bytes) of a value


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

Generated on Thu Jun 26 17:02:42 2008 for FeeServer++ 0.9 by  doxygen 1.5.6