Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::IntegerType Class Reference

#include <codedesc.h>

Inheritance diagram for Realm::IntegerType:
Collaboration diagram for Realm::IntegerType:

Public Member Functions

 IntegerType (size_t _size_bits, bool _signed, size_t _alignment_bits=0)
 
bool & is_signed (void)
 
const bool & is_signed (void) const
 
- Public Member Functions inherited from Realm::Type
 Type (void)
 
 Type (const Type &rhs)
 
Typeoperator= (const Type &rhs)
 
 ~Type (void)
 
bool operator== (const Type &rhs) const
 
bool operator!= (const Type &rhs) const
 
bool is_valid (void) const
 
template<typename T >
bool is (void) const
 
template<typename T >
T & as (void)
 
template<typename T >
const T & as (void) const
 
size_t & size_bits (void)
 
const size_t & size_bits (void) const
 
size_t & alignment_bits (void)
 
const size_t & alignment_bits (void) const
 

Static Public Attributes

static const Type::Kind KIND = IntegerKind
 

Additional Inherited Members

- Public Types inherited from Realm::Type
enum  Kind { InvalidKind }
 
- Static Public Member Functions inherited from Realm::Type
template<typename T >
static Type from_cpp_type (void)
 
template<typename T >
static Type from_cpp_value (const T &value)
 
- Protected Member Functions inherited from Realm::Type
void destroy (void)
 
void copy_from (const Type &rhs)
 
 Type (Kind _kind, size_t _size_bits, size_t _alignment_bits)
 
- Protected Attributes inherited from Realm::Type
union { 
 
   CommonFields   f_common 
 
};  
 

Constructor & Destructor Documentation

◆ IntegerType()

Realm::IntegerType::IntegerType ( size_t  _size_bits,
bool  _signed,
size_t  _alignment_bits = 0 
)

Member Function Documentation

◆ is_signed() [1/2]

bool & Realm::IntegerType::is_signed ( void  )

◆ is_signed() [2/2]

const bool & Realm::IntegerType::is_signed ( void  ) const

Member Data Documentation

◆ KIND

const Type::Kind Realm::IntegerType::KIND = IntegerKind
static

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