replicode
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
r_exec::Operator Class Reference

#include <operator.h>

Collaboration diagram for r_exec::Operator:
Collaboration graph

Public Member Functions

 Operator ()
 
 Operator (bool(*o)(const Context &, uint16_t &))
 
 ~Operator ()
 
void setOverload (bool(*o)(const Context &, uint16_t &))
 
bool operator() (const Context &context, uint16_t &index) const
 
bool is_red () const
 
bool is_syn () const
 

Static Public Member Functions

static void Register (uint16_t opcode, bool(*op)(const Context &, uint16_t &))
 
static Operator Get (uint16_t opcode)
 

Private Attributes

bool(* _operator )(const Context &, uint16_t &)
 
bool(* _overload )(const Context &, uint16_t &)
 

Static Private Attributes

static r_code::vector< OperatorOperators
 

Constructor & Destructor Documentation

r_exec::Operator::Operator ( )
inline

Here is the caller graph for this function:

r_exec::Operator::Operator ( bool(*)(const Context &, uint16_t &)  o)
inline
r_exec::Operator::~Operator ( )
inline

Member Function Documentation

static Operator r_exec::Operator::Get ( uint16_t  opcode)
inlinestatic

Here is the caller graph for this function:

bool r_exec::Operator::is_red ( ) const
inline

Here is the call graph for this function:

Here is the caller graph for this function:

bool r_exec::Operator::is_syn ( ) const
inline

Here is the call graph for this function:

Here is the caller graph for this function:

bool r_exec::Operator::operator() ( const Context context,
uint16_t &  index 
) const
inline
void r_exec::Operator::Register ( uint16_t  opcode,
bool(*)(const Context &, uint16_t &)  op 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

void r_exec::Operator::setOverload ( bool(*)(const Context &, uint16_t &)  o)
inline

Member Data Documentation

bool(* r_exec::Operator::_operator) (const Context &, uint16_t &)
private
bool(* r_exec::Operator::_overload) (const Context &, uint16_t &)
private
r_code::vector< Operator > r_exec::Operator::Operators
staticprivate

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