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

#include <codedesc.h>

Inheritance diagram for Realm::PointerType:
[legend]
Collaboration diagram for Realm::PointerType:
[legend]

Public Member Functions

 PointerType (const Type &_base_type, bool _const=false, size_t _size_bits=0, size_t _alignment_bits=0)
Type & base_type (void)
const Type & base_type (void) const
bool & is_const (void)
const bool & is_const (void) const
Public Member Functions inherited from Realm::Type
 Type (void)
 Type (const Type &rhs)
Type & operator= (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 = PointerKind

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

◆ PointerType()

Realm::PointerType::PointerType ( const Type & _base_type,
bool _const = false,
size_t _size_bits = 0,
size_t _alignment_bits = 0 )

Member Function Documentation

◆ base_type() [1/2]

Type & Realm::PointerType::base_type ( void )

◆ base_type() [2/2]

const Type & Realm::PointerType::base_type ( void ) const

◆ is_const() [1/2]

bool & Realm::PointerType::is_const ( void )

◆ is_const() [2/2]

const bool & Realm::PointerType::is_const ( void ) const

Member Data Documentation

◆ KIND

const Type::Kind Realm::PointerType::KIND = PointerKind
static

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/codedesc.h