CalcMessage Class Reference

An object for passing warning and error messages from execution. More...

#include <CalcMessage.h>

List of all members.

Public Member Functions

 CalcMessage (const char *strA, TProgramCounter pcA)
 strA is a 5 character long string, per SQL99 Part 2 Section 22.1.

Public Attributes

char str [6]
TProgramCounter pc


Detailed Description

An object for passing warning and error messages from execution.

Values are copied, as they may refer to program state that could change before execution terminates, or change before a Calculator XO can read the message.

Definition at line 36 of file CalcMessage.h.


Constructor & Destructor Documentation

CalcMessage::CalcMessage ( const char *  strA,
TProgramCounter  pcA 
) [inline, explicit]

strA is a 5 character long string, per SQL99 Part 2 Section 22.1.

strA can be either null terminated or simply 5 characters long.

Definition at line 44 of file CalcMessage.h.

00045         : pc(pcA)
00046     {
00047         memcpy(str, strA, 5);
00048         str[5] = 0; // insure null termination
00049     }


Member Data Documentation

char CalcMessage::str[6]

Definition at line 51 of file CalcMessage.h.

Referenced by DoOp_2().

TProgramCounter CalcMessage::pc

Definition at line 52 of file CalcMessage.h.


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 04:00:28 2009 for Fennel by  doxygen 1.5.1