Program addressing only flat data structures and with symbolic information stripped out. More...
#include <programImage.hpp>
Classes | |
class | ErrorHint |
Hint for adding user information to the database error. More... | |
Public Member Functions | |
ProgramImage () | |
Constructor. More... | |
ProgramImage (const ProgramImage &o) | |
Copy constructor. More... | |
void | printInstruction (std::ostream &out, const Instruction &instr) const |
Print one instruction without symbolic information. More... | |
void | print (std::ostream &out) const |
Print the whole program without symbolic information. More... | |
Public Attributes | |
ProgramCode | code |
program code More... | |
std::vector< types::Variant > | constants |
constants More... | |
std::vector< std::string > | colnames |
column names More... | |
std::vector< std::string > | tagnames |
tag names More... | |
std::vector< std::string > | resultnames |
result name table More... | |
std::vector< std::string > | statements |
database statements More... | |
std::vector< ErrorHintList > | errorhints |
hints for error classes of failing database statements More... | |
std::vector< SubroutineSignature > | signatures |
subroutine signatures More... | |
std::vector< ValueTupleSetR > | tuplesets |
value sets from input path expressions More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from _Wolframe::db::vm::InstructionSet | |
static const char * | opCodeName (OpCode i) |
static const char * | argumentTypeName (ArgumentType i) |
Get the name of an argument type. More... | |
static ArgumentType | argumentType (OpCode i) |
get the argument type of an operation More... | |
static const char * | condCodeName (CondCode i) |
Get the name of a conditional code. More... | |
static Instruction | instruction (CondCode cond, OpCode opcode, unsigned int arg=0) |
Build an instruction from its parts. More... | |
static Instruction | instruction (OpCode opcode, unsigned int arg=0) |
Build an instruction from its parts (no condition -> always executed) More... | |
static CondCode | condCode (const Instruction &instr) |
Get the condition code of an instruction (defining on which condition the instruction is executed) More... | |
static OpCode | opCode (const Instruction &instr) |
Get the operation code of an instruction (defining what is done on execution) More... | |
static ArgumentIndex | argumentIndex (const Instruction &instr) |
Get the argument index of the instruction (addressing the argument depending on the argument type of the instruction) More... | |
static void | printProgramRaw (std::ostream &out, const std::vector< Instruction > &prg) |
Print the program code without any symbolic information that is not available here. More... | |
static std::string | instructionstr (const Instruction &instr) |
Get the instruction as string. More... | |
Program addressing only flat data structures and with symbolic information stripped out.
typedef std::vector<ErrorHint> _Wolframe::db::vm::ProgramImage::ErrorHintList |
typedef std::vector<std::string> _Wolframe::db::vm::ProgramImage::SubroutineSignature |
|
inline |
Constructor.
|
inline |
Copy constructor.
void _Wolframe::db::vm::ProgramImage::print | ( | std::ostream & | out | ) | const |
Print the whole program without symbolic information.
void _Wolframe::db::vm::ProgramImage::printInstruction | ( | std::ostream & | out, |
const Instruction & | instr | ||
) | const |
Print one instruction without symbolic information.
ProgramCode _Wolframe::db::vm::ProgramImage::code |
program code
std::vector<std::string> _Wolframe::db::vm::ProgramImage::colnames |
column names
std::vector<types::Variant> _Wolframe::db::vm::ProgramImage::constants |
constants
std::vector<ErrorHintList> _Wolframe::db::vm::ProgramImage::errorhints |
hints for error classes of failing database statements
std::vector<std::string> _Wolframe::db::vm::ProgramImage::resultnames |
result name table
std::vector<SubroutineSignature> _Wolframe::db::vm::ProgramImage::signatures |
subroutine signatures
std::vector<std::string> _Wolframe::db::vm::ProgramImage::statements |
database statements
std::vector<std::string> _Wolframe::db::vm::ProgramImage::tagnames |
tag names
std::vector<ValueTupleSetR> _Wolframe::db::vm::ProgramImage::tuplesets |
value sets from input path expressions
Copyright © 2014 - Project Wolframe - All Rights Reserved