Canola  0.8.D001
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
interpose_goto Class Reference

#include <goto.h>

Inheritance diagram for interpose_goto:
interpose

List of all members.

Public Member Functions

virtual ~interpose_goto ()

Static Public Member Functions

static pointer create (const pointer &deeper)

Protected Member Functions

void on_opcode (opcode_t op, const location::pointer &where)
bool strict_memory_number_checking_required (void) const
void on_error_v (const char *fmt, va_list ap)

Private Member Functions

 interpose_goto (const pointer &deeper)
 interpose_goto ()
 interpose_goto (const interpose_goto &rhs)
interpose_gotooperator= (const interpose_goto &rhs)

Private Attributes

pointer deeper

Detailed Description

The interpose_goto class is used to represent

Definition at line 26 of file goto.h.


Constructor & Destructor Documentation

The destructor.

Definition at line 21 of file goto.cc.

interpose_goto::interpose_goto ( const pointer deeper) [private]

The constructor. It is private on purpose, use the create class method instead.

Parameters:
deeperWhere to send the stateless key stream.

Definition at line 26 of file goto.cc.

The default constructor. Do not use.

interpose_goto::interpose_goto ( const interpose_goto rhs) [private]

The copy constructor. Do not use.

Parameters:
rhsThe right hand side of the initialization.

Member Function Documentation

The create class method is used to create new dynamically allocated instance of this class.

Parameters:
deeperWhere to send the stateless key stream.

Definition at line 33 of file goto.cc.

void interpose_goto::on_error_v ( const char *  fmt,
va_list  ap 
) [protected, virtual]

The on_error_v method is used to report errors processing the key stream.

Parameters:
fmtThe format of the error. This controls the numer and types of the following arguments.
apThe following arguments.

Implements interpose.

Definition at line 75 of file goto.cc.

void interpose_goto::on_opcode ( opcode_t  op,
const location::pointer where 
) [protected, virtual]

The on_opcode method is used to process keys that have a corresponding opcode.

Parameters:
opThe opcode (usually a key stroke) of interest
whereThe source file location, or NULL if not available.

Implements interpose.

Definition at line 40 of file goto.cc.

interpose_goto& interpose_goto::operator= ( const interpose_goto rhs) [private]

The assignment operator. Do not use.

Parameters:
rhsThe right hand side of the assignment.
bool interpose_goto::strict_memory_number_checking_required ( void  ) const [protected, virtual]

The strict_memory_number_checking_required method is used to determine whether or not the number keys following M3~ keys (et al) must be followed by a digit key (true) or any key (false). The actual 1614P silently permits any key, and uses only the lower 4 bits.

Implements interpose.

Definition at line 67 of file goto.cc.


Member Data Documentation

The deeper instance variable is used to remember where to send the stateless key stream.

Definition at line 68 of file goto.h.


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