Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

messagePrinting.h File Reference

Definitions of some global functions for error / warning message printing. More...

#include <iostream>
#include <stdarg.h>
#include <StdString.h>

Include dependency graph for messagePrinting.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

#define STDSTRING_PRINTF(destination, format)

Functions

void printError (const char *format,...)
void printWarning (const char *format,...)
void printInfo (const char *format,...)
void addWarning (CStdString &warnings, const char *newWarning)

Detailed Description

Definitions of some global functions for error / warning message printing.

Author:
Josef Troch (josef.troch@email.cz)
Date:
2003 - 2004

Define Documentation

#define STDSTRING_PRINTF destination,
format   ) 
 

Helper macro used by printError(), printWarning() and printInfo().


Function Documentation

void printError const char *  format,
... 
[static]
 

Formats given parameters, sends IOPC_ERROR_PREFIX followed by the message to cerr.

Parameters:
format printf-style format-control list.

void printWarning const char *  format,
... 
[static]
 

Formats given parameters, sends IOPC_WARNING_PREFIX followed by the message to cerr.

Parameters:
format printf-style format-control list.

void printInfo const char *  format,
... 
[static]
 

Formats given parameters, sends the message to cout.

Parameters:
format printf-style format-control list.

void addWarning CStdString &  warnings,
const char *  newWarning
[inline]
 

Adds new warning (newWarning) to string containing all warnings from an operation (warnings).


Generated on Wed Aug 11 22:34:30 2004 for IOPC by Doxygen 1.3.6