hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Classes | Namespaces | Macros | Typedefs | Functions
bindings.C File Reference
#include <hobbes/db/bindings.H>
#include <hobbes/db/file.H>
#include <hobbes/db/signals.H>
#include <hobbes/eval/cc.H>
#include <hobbes/eval/funcdefs.H>
#include <unordered_map>
Include dependency graph for bindings.C:

Classes

struct  hobbes::injFileReferencesF
 
class  hobbes::dbloadVF
 
class  hobbes::dbstoreVF
 
struct  hobbes::dbloadF
 
struct  hobbes::dbloadPF
 
struct  hobbes::dbRefFileF
 
struct  hobbes::dbArrIdxRefF
 
struct  hobbes::dbunloadF
 
struct  hobbes::dballocF
 
struct  hobbes::dbstoreF
 
struct  hobbes::dbstorePF
 
struct  hobbes::dballocArrF
 
struct  hobbes::dballocArrPF
 
struct  hobbes::dbarrCapacityF
 
struct  hobbes::dbarrCapacityPF
 
struct  hobbes::signalUpdateF
 
struct  hobbes::openFileF
 
struct  hobbes::printFileF
 
class  hobbes::DBFieldLookup
 
struct  hobbes::HFDBFLUnqualify
 
class  hobbes::LoadFileP
 
struct  hobbes::LoadFileP::LoadedFile
 
struct  hobbes::LoadFileP::insertLoadedFileF
 

Namespaces

 hobbes
 

Macros

#define READ_FILE_SYM   "inputFile"
 
#define WRITE_FILE_SYM   "outputFile"
 

Typedefs

typedef std::pair< bool, MonoTypePtr > hobbes::UTFileConfig
 
typedef std::pair< bool, const Record * > hobbes::FileConfig
 
typedef std::pair< MonoTypePtr, ExprPtr > hobbes::FRefT
 

Functions

MonoTypePtr hobbes::fileType (bool writeable, const MonoTypePtr &stype)
 
static uint32_t hobbes::fileModeFlags (const MonoTypePtr &t)
 
static bool hobbes::isFileMode (const MonoTypePtr &t)
 
static bool hobbes::isWriteable (uint32_t f)
 
bool hobbes::unpackFileType (const MonoTypePtr &fty, UTFileConfig *fcfg)
 
bool hobbes::unpackFileType (const MonoTypePtr &fty, FileConfig *fcfg)
 
bool hobbes::isFileType (const MonoTypePtr &fty)
 
FRefT hobbes::assumeFRefT (const MonoTypePtr &ty, const LexicalAnnotation &la)
 
MonoTypePtr hobbes::injFileReferences (const MonoTypePtr &ty, const ExprPtr &f)
 
unsigned int hobbes::storedOffset (const Record *rty, const std::string &lbl)
 
unsigned int hobbes::storedOffset (const FileConfig &fcfg, const std::string &lbl)
 
unsigned int hobbes::storedOffset (const MonoTypePtr &ty, const std::string &lbl)
 
unsigned int hobbes::storedOffset (const ExprPtr &e, const std::string &lbl)
 
const MonoTypePtr & hobbes::frefType (const MonoTypePtr &fref)
 
const MonoTypePtr & hobbes::arrType (const MonoTypePtr &arr)
 
char * hobbes::dbloado (long db, unsigned int o)
 
char * hobbes::dbloadv (long db, long offset, long sz)
 
char * hobbes::dbloadarr (long db, long offset)
 
void hobbes::dbunloadv (long db, long ptr, long sz)
 
void hobbes::dbunloadarr (long db, long ptr)
 
long hobbes::dballoc (long db, long datasz, size_t align)
 
long hobbes::dballocarr (long db, long elemsz, long len)
 
long hobbes::dbarrcapacity (long db, long elemsz, long arrref)
 
long hobbes::writeFileRT (const array< char > *fname, long tydef)
 
void hobbes::dbsignalupdate (long db)
 
long hobbes::readFileRT (const array< char > *fname, long tydef)
 
MonoTypePtr hobbes::inferFileType (reader *r)
 
void hobbes::printFileUF (long x)
 
static bool hobbes::decLF (const ConstraintPtr &c, MonoTypePtr *lhs, MonoTypePtr *rhs)
 
reader::PageEntries * hobbes::pageEntries (reader *r)
 
void hobbes::initStorageFileDefs (FieldVerifier *, cc &)
 

Macro Definition Documentation

◆ READ_FILE_SYM

#define READ_FILE_SYM   "inputFile"

◆ WRITE_FILE_SYM

#define WRITE_FILE_SYM   "outputFile"