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

TNL::Int< bitCount > Struct Template Reference

#include <tnlTypes.h>

Inheritance diagram for TNL::Int< bitCount >:

TNL::NetType

Detailed Description

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

Unsigned integer bit-level RPC template wrapper.

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


Public Member Functions

 Int (U32 val=0)
 operator U32 () const
U32 getPrecisionBits ()

Data Fields

U32 value


Constructor & Destructor Documentation

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


Member Function Documentation

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

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


Field Documentation

template<U32 bitCount>
U32 TNL::Int< bitCount >::value