Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
codedesc.h File Reference
#include "realm/realm_config.h"
#include "realm/serialize.h"
#include <stddef.h>
#include <vector>
#include <iostream>
#include "realm/codedesc.inl"
Include dependency graph for codedesc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Realm::Type
 
struct  Realm::Type::CommonFields
 
struct  Realm::Type::OpaqueFields
 
struct  Realm::Type::IntegerFields
 
struct  Realm::Type::FloatingPointFields
 
struct  Realm::Type::PointerFields
 
struct  Realm::Type::FunctionPointerFields
 
class  Realm::OpaqueType
 
class  Realm::IntegerType
 
class  Realm::PointerType
 
class  Realm::FunctionPointerType
 
class  Realm::CodeDescriptor
 
class  Realm::CodeImplementation
 
class  Realm::CodeProperty
 
class  Realm::CodeTranslator
 
class  Realm::FunctionPointerImplementation
 

Namespaces

namespace  Realm
 
namespace  Realm::TypeConv
 

Macros

#define REALM_TYPE_KINDS(__func__)
 
#define KINDS_ENUM(k, f, n)   k,
 
#define FIELDOBJ_METHODS(classname)
 
#define FIELDS_ENTRY(k, f, n)   f n;
 

Functions

template<typename T >
Type Realm::TypeConv::from_cpp_type (void)
 
template<typename T >
Type Realm::TypeConv::from_cpp_value (const T &value)
 
template<typename S >
bool Realm::serialize (S &serializer, const CodeDescriptor &cd)
 
template<typename S >
bool Realm::deserialize (S &deserializer, CodeDescriptor &cd)
 
template<typename S >
bool Realm::serialize (S &serializer, const CodeImplementation &ci)
 

Macro Definition Documentation

◆ FIELDOBJ_METHODS

#define FIELDOBJ_METHODS (   classname)
Value:
void destroy(void); \
void copy_from(const classname &rhs); \
bool is_equal(const classname &rhs) const; \
template <typename S> \
bool serialize(S &s) const; \
template <typename S> \
bool deserialize(S &s)

◆ FIELDS_ENTRY

#define FIELDS_ENTRY (   k,
  f,
 
)    f n;

◆ KINDS_ENUM

#define KINDS_ENUM (   k,
  f,
 
)    k,

◆ REALM_TYPE_KINDS

#define REALM_TYPE_KINDS (   __func__)
Value:
__func__(OpaqueKind, OpaqueFields, f_opaque) __func__( \
IntegerKind, IntegerFields, \
f_integer) __func__(FloatingPointKind, FloatingPointFields, \
f_float) __func__(PointerKind, PointerFields, \
f_pointer) __func__(FunctionPointerKind, \
FunctionPointerFields, \
f_funcptr)