hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <hobbes/lang/type.H>
#include <hobbes/util/array.H>
#include <hobbes/util/ptr.H>
#include <hobbes/util/str.H>
#include <hobbes/util/variant.H>
#include <hobbes/util/preprocessor.H>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
hobbes | |
Macros | |
#define | HOBBES_LIFT_PRIMITIVE(T, n) |
#define | HOBBES_ENUM_CTOR(n, v) n = v, |
#define | HOBBES_ENUM_METAENT(n, v) r.push_back(MetaEnt(#n, v)); |
#define | DEFINE_ENUM(T, CTORS...) |
#define | HOBBES_STRUCT_FIELD(t, n) t n; |
#define | HOBBES_META_FIELD(t, n) r.push_back(::hobbes::Record::Member(#n, ::hobbes::lift<t, true>::type(tenv), offsetof(SelfT, n))); |
#define | DEFINE_STRUCT(T, FIELDS...) |
Functions | |
template<typename T > | |
const T * | hobbes::begin (const array< T > *d) |
template<typename T > | |
const T * | hobbes::end (const array< T > *d) |
template<typename T > | |
T * | hobbes::begin (array< T > *d) |
template<typename T > | |
T * | hobbes::end (array< T > *d) |
template<typename T > | |
const T * | hobbes::begin (const array< T > &d) |
template<typename T > | |
const T * | hobbes::end (const array< T > &d) |
template<typename T > | |
T * | hobbes::begin (array< T > &d) |
template<typename T > | |
T * | hobbes::end (array< T > &d) |
hobbes::HOBBES_LIFT_PRIMITIVE (void, unit) | |
hobbes::HOBBES_LIFT_PRIMITIVE (unit, unit) | |
hobbes::HOBBES_LIFT_PRIMITIVE (bool, bool) | |
hobbes::HOBBES_LIFT_PRIMITIVE (char, char) | |
hobbes::HOBBES_LIFT_PRIMITIVE (unsigned char, byte) | |
hobbes::HOBBES_LIFT_PRIMITIVE (short, short) | |
hobbes::HOBBES_LIFT_PRIMITIVE (unsigned short, short) | |
hobbes::HOBBES_LIFT_PRIMITIVE (int, int) | |
hobbes::HOBBES_LIFT_PRIMITIVE (unsigned int, int) | |
hobbes::HOBBES_LIFT_PRIMITIVE (long, long) | |
hobbes::HOBBES_LIFT_PRIMITIVE (unsigned long, long) | |
hobbes::HOBBES_LIFT_PRIMITIVE (float, float) | |
hobbes::HOBBES_LIFT_PRIMITIVE (double, double) | |
template<typename T > | |
MonoTypePtr | hobbes::prim () |
Variables | |
nulltypedb | hobbes::nulltdb |
#define DEFINE_ENUM | ( | T, | |
CTORS... | |||
) |
#define DEFINE_STRUCT | ( | T, | |
FIELDS... | |||
) |
#define HOBBES_ENUM_CTOR | ( | n, | |
v | |||
) | n = v, |
#define HOBBES_ENUM_METAENT | ( | n, | |
v | |||
) | r.push_back(MetaEnt(#n, v)); |
#define HOBBES_LIFT_PRIMITIVE | ( | T, | |
n | |||
) |
#define HOBBES_META_FIELD | ( | t, | |
n | |||
) | r.push_back(::hobbes::Record::Member(#n, ::hobbes::lift<t, true>::type(tenv), offsetof(SelfT, n))); |
#define HOBBES_STRUCT_FIELD | ( | t, | |
n | |||
) | t n; |