Main Page Modules Namespaces C++ Classes Compound List File List Index
TemplateTNL::SignedInt< bitCount > struct Reference

TNL::SignedInt< bitCount > Struct Template Reference

#include <tnlTypes.h>

Inheritance diagram for TNL::SignedInt< bitCount >:

TNL::NetType

Detailed Description

template<U32 bitCount>
struct TNL::SignedInt< bitCount >

Signed integer bit-level RPC template wrapper.

When a SignedInt<X> is in the parameter list for an RPC method, that parameter will be transmitted using X bits.


Public Member Functions

 SignedInt (S32 val=0)
 operator S32 () const
U32 getPrecisionBits ()

Data Fields

S32 value


Constructor & Destructor Documentation

template<U32 bitCount>
TNL::SignedInt< bitCount >::SignedInt S32  val = 0  )  [inline]
 


Member Function Documentation

template<U32 bitCount>
TNL::SignedInt< bitCount >::operator S32  )  const [inline]
 

template<U32 bitCount>
U32 TNL::SignedInt< bitCount >::getPrecisionBits  )  [inline]
 


Field Documentation

template<U32 bitCount>
S32 TNL::SignedInt< bitCount >::value