XII Release 0.1.0
Loading...
Searching...
No Matches
xiiExpressionByteCode Class Reference

Classes

struct  OpCode
 

Public Types

using StorageType = xiiUInt32
 

Public Member Functions

 xiiExpressionByteCode (const xiiExpressionByteCode &other)
 
void operator= (const xiiExpressionByteCode &other)
 
bool operator== (const xiiExpressionByteCode &other) const
 
bool operator!= (const xiiExpressionByteCode &other) const
 
void Clear ()
 
bool IsEmpty () const
 
const StorageType * GetByteCodeStart () const
 
const StorageType * GetByteCodeEnd () const
 
xiiArrayPtr< const StorageType > GetByteCode () const
 
xiiUInt32 GetNumInstructions () const
 
xiiUInt32 GetNumTempRegisters () const
 
xiiArrayPtr< const xiiExpression::StreamDescGetInputs () const
 
xiiArrayPtr< const xiiExpression::StreamDescGetOutputs () const
 
xiiArrayPtr< const xiiExpression::FunctionDescGetFunctions () const
 
void Disassemble (xiiStringBuilder &out_sDisassembly) const
 
xiiResult Save (xiiStreamWriter &inout_stream) const
 
xiiResult Load (xiiStreamReader &inout_stream, xiiByteArrayPtr externalMemory=xiiByteArrayPtr())
 
xiiConstByteBlobPtr GetDataBlob () const
 

Static Public Member Functions

static OpCode::Enum GetOpCode (const StorageType *&ref_pByteCode)
 
static xiiUInt32 GetRegisterIndex (const StorageType *&ref_pByteCode)
 
static xiiExpression::Register GetConstant (const StorageType *&ref_pByteCode)
 
static xiiUInt32 GetFunctionIndex (const StorageType *&ref_pByteCode)
 
static xiiUInt32 GetFunctionArgCount (const StorageType *&ref_pByteCode)
 

Friends

class xiiExpressionCompiler
 

The documentation for this class was generated from the following files: