News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

TemplateTNL::RangedU32< rangeStart, rangeEnd > struct Reference

TNL::RangedU32< rangeStart, rangeEnd > Struct Template Reference

#include <tnlTypes.h>

Inheritance diagram for TNL::RangedU32< rangeStart, rangeEnd >:

TNL::NetType

Detailed Description

template<U32 rangeStart, U32 rangeEnd>
struct TNL::RangedU32< rangeStart, rangeEnd >

Unsigned ranged integer bit-level RPC template wrapper.

The RangedU32 is used to specify a range of valid values for the parameter in the parameter list for an RPC method.


Public Member Functions

 RangedU32 (U32 val=rangeStart)
 operator U32 () const

Data Fields

U32 value


Constructor & Destructor Documentation

template<U32 rangeStart, U32 rangeEnd>
TNL::RangedU32< rangeStart, rangeEnd >::RangedU32 U32  val = rangeStart  )  [inline]
 


Member Function Documentation

template<U32 rangeStart, U32 rangeEnd>
TNL::RangedU32< rangeStart, rangeEnd >::operator U32  )  const [inline]
 


Field Documentation

template<U32 rangeStart, U32 rangeEnd>
U32 TNL::RangedU32< rangeStart, rangeEnd >::value