ezEngine  Release 25.03
ezExpressionByteCode Class Reference

Classes

struct  OpCode
 

Public Types

using StorageType = ezUInt32
 

Public Member Functions

 ezExpressionByteCode (const ezExpressionByteCode &other)
 
void operator= (const ezExpressionByteCode &other)
 
bool operator== (const ezExpressionByteCode &other) const
 
bool operator!= (const ezExpressionByteCode &other) const
 
void Clear ()
 
bool IsEmpty () const
 
const StorageType * GetByteCodeStart () const
 
const StorageType * GetByteCodeEnd () const
 
ezArrayPtr< const StorageType > GetByteCode () const
 
ezUInt32 GetNumInstructions () const
 
ezUInt32 GetNumTempRegisters () const
 
ezArrayPtr< const ezExpression::StreamDescGetInputs () const
 
ezArrayPtr< const ezExpression::StreamDescGetOutputs () const
 
ezArrayPtr< const ezExpression::FunctionDescGetFunctions () const
 
void Disassemble (ezStringBuilder &out_sDisassembly) const
 
ezResult Save (ezStreamWriter &inout_stream) const
 
ezResult Load (ezStreamReader &inout_stream, ezByteArrayPtr externalMemory=ezByteArrayPtr())
 
ezConstByteBlobPtr GetDataBlob () const
 

Static Public Member Functions

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

Friends

class ezExpressionCompiler
 

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