equivalent_simba_int< T, Signed > Struct Template Reference

Template to declare a simba_int of size equivalent to T. More...

List of all members.

Public Types

typedef _simba_int< sizeof(T)*8,
Signed >::type 
type

Public Member Functions

template<>
void * CastFrom (equivalent_simba_int< void *, false >::type val)
template<>
void * CastFrom (equivalent_simba_int< void *, true >::type val)
template<>
equivalent_simba_int< void
*, false >::type 
CastTo (void *val)
template<>
equivalent_simba_int< void
*, true >::type 
CastTo (void *val)

Static Public Member Functions

static T CastFrom (type val)
 Cast from a simba_int to T.
static type CastTo (T val)
 Cast from T to a simba_int.

Detailed Description

template<typename T, bool Signed>
struct Simba::Support::equivalent_simba_int< T, Signed >

Template to declare a simba_int of size equivalent to T.


Member Typedef Documentation

typedef _simba_int<sizeof(T)* 8, Signed>::type type

Member Function Documentation

void * CastFrom ( equivalent_simba_int< void *, false >::type  val  )  [inline]
void * CastFrom ( equivalent_simba_int< void *, true >::type  val  )  [inline]
static T CastFrom ( type  val  )  [inline, static]

Cast from a simba_int to T.

equivalent_simba_int< void *, false >::type CastTo ( void *  val  )  [inline]
equivalent_simba_int< void *, true >::type CastTo ( void *  val  )  [inline]
static type CastTo ( val  )  [inline, static]

Cast from T to a simba_int.


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

Generated on Wed May 17 14:21:18 2017 for SimbaEngine 10.1.3.1011 by simba