Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

SCompiler Class Reference

Compiler class. More...

#include <SCompiler.h>

List of all members.

Static Public Methods

int sc_printf (const char *format, va_list argptr)
 Sends formatted output using a pointer to a list of arguments to the current handler window.


Detailed Description

Compiler class.

Author:
Kronuz
Version:
1.0
Date:
April 15, 2003
This class works as an interface between the Small Compiler and the rest of the application.
In order of this class to work properly, the public member SCompiler::m_shWnd must be set with a valid window handle.

Definition at line 50 of file SCompiler.h.


Member Function Documentation

int SCompiler::sc_printf const char *    format,
va_list    argptr
[static]
 

Sends formatted output using a pointer to a list of arguments to the current handler window.

Parameters:
format  Format specification.
argptr  Pointer to list of arguments.
Returns:
return the number of characters written, not including the terminating null character, or a negative value if an output error occurs
Remarks:
This function takes a pointer to an argument list, and then formats and sends the given data to the window SCompiler::m_shWnd associated with the compiler class in the form of a WMQD_MESSAGE message.
See also:
SCompiler(), ~SCompiler() and sc_error()
Called for general purpose "console" output. This function prints general purpose messages; errors go through sc_error(). The function is modelled after printf().

Definition at line 348 of file SCompiler.cpp.

References WMQD_MESSAGE.


The documentation for this class was generated from the following files:
Generated on Wed Apr 16 19:12:29 2003 for QuestDesigner by doxygen1.2.18