replicode
Public Member Functions | List of all members
r_exec::HLPContext Class Reference

#include <hlp_context.h>

Inheritance diagram for r_exec::HLPContext:
Inheritance graph
Collaboration diagram for r_exec::HLPContext:
Collaboration graph

Public Member Functions

 HLPContext ()
 
 HLPContext (Atom *code, uint16_t index, HLPOverlay *const overlay, Data data=STEM)
 
HLPContext operator* () const
 
HLPContextoperator= (const HLPContext &c)
 
Atomoperator[] (uint16_t i) const
 
bool operator== (const HLPContext &c) const
 
bool operator!= (const HLPContext &c) const
 
HLPContext getChild (uint16_t index) const
 
bool evaluate (uint16_t &result_index) const
 
bool evaluate_no_dereference (uint16_t &result_index) const
 
_Contextassign (const _Context *c)
 
bool equal (const _Context *c) const
 
Atomget_atom (uint16_t i) const
 
uint16_t get_object_code_size () const
 
uint16_t getChildrenCount () const
 
_Context_getChild (uint16_t index) const
 
_Contextdereference () const
 
- Public Member Functions inherited from r_exec::_Context
virtual ~_Context ()
 
void commit () const
 
void rollback () const
 
void patch_code (uint16_t location, Atom value) const
 
void unpatch_code (uint16_t patch_index) const
 
uint16_t get_last_patch_index () const
 
uint16_t setAtomicResult (Atom a) const
 
uint16_t setTimestampResult (uint64_t t) const
 
uint16_t setCompoundResultHead (Atom a) const
 
uint16_t addCompoundResultPart (Atom a) const
 
void trace () const
 

Additional Inherited Members

- Protected Types inherited from r_exec::_Context
enum  Data {
  STEM = 0, REFERENCE = 1, VIEW = 2, MKS = 3,
  VWS = 4, VALUE_ARRAY = 5, BINDING_MAP = 6, UNDEFINED = 7
}
 
- Protected Member Functions inherited from r_exec::_Context
 _Context (Atom *code, uint16_t index, Overlay *overlay, Data data)
 
- Protected Attributes inherited from r_exec::_Context
Overlay *const overlay
 
Atomcode
 
uint16_t index
 
Data data
 

Constructor & Destructor Documentation

r_exec::HLPContext::HLPContext ( )

Here is the caller graph for this function:

r_exec::HLPContext::HLPContext ( Atom code,
uint16_t  index,
HLPOverlay *const  overlay,
Data  data = STEM 
)

Member Function Documentation

_Context* r_exec::HLPContext::_getChild ( uint16_t  index) const
inlinevirtual

Implements r_exec::_Context.

_Context* r_exec::HLPContext::assign ( const _Context c)
inlinevirtual

Implements r_exec::_Context.

_Context* r_exec::HLPContext::dereference ( ) const
inlinevirtual

Implements r_exec::_Context.

bool r_exec::HLPContext::equal ( const _Context c) const
inlinevirtual

Implements r_exec::_Context.

bool r_exec::HLPContext::evaluate ( uint16_t &  result_index) const

Here is the call graph for this function:

Here is the caller graph for this function:

bool r_exec::HLPContext::evaluate_no_dereference ( uint16_t &  result_index) const

Here is the call graph for this function:

Here is the caller graph for this function:

Atom& r_exec::HLPContext::get_atom ( uint16_t  i) const
inlinevirtual

Implements r_exec::_Context.

uint16_t r_exec::HLPContext::get_object_code_size ( ) const
virtual

Implements r_exec::_Context.

Here is the call graph for this function:

HLPContext r_exec::HLPContext::getChild ( uint16_t  index) const
inline

Here is the caller graph for this function:

uint16_t r_exec::HLPContext::getChildrenCount ( ) const
inlinevirtual

Implements r_exec::_Context.

Here is the call graph for this function:

Here is the caller graph for this function:

bool r_exec::HLPContext::operator!= ( const HLPContext c) const
HLPContext r_exec::HLPContext::operator* ( ) const

Here is the call graph for this function:

HLPContext& r_exec::HLPContext::operator= ( const HLPContext c)
inline
bool r_exec::HLPContext::operator== ( const HLPContext c) const

Here is the call graph for this function:

Atom& r_exec::HLPContext::operator[] ( uint16_t  i) const
inline

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