error.cpp File Reference

#include "stdafx.h"
#include "progressreporter.h"
#include <stdarg.h>

Go to the source code of this file.

Defines

#define PBRT_ERROR_IGNORE   0
#define PBRT_ERROR_CONTINUE   1
#define PBRT_ERROR_ABORT   2

Functions

const char * findWordEnd (const char *buf)
static void processError (const char *format, va_list args, const char *message, int disposition)
void Info (const char *format,...)
void Warning (const char *format,...)
void Error (const char *format,...)
void Severe (const char *format,...)

Define Documentation

#define PBRT_ERROR_ABORT   2

Definition at line 35 of file error.cpp.

Referenced by processError(), and Severe().

#define PBRT_ERROR_CONTINUE   1

Definition at line 34 of file error.cpp.

Referenced by Error(), Info(), and Warning().

#define PBRT_ERROR_IGNORE   0

Definition at line 33 of file error.cpp.

Referenced by processError().


Function Documentation

void Error ( const char *  format,
  ... 
)
const char* findWordEnd ( const char *  buf  ) 

Definition at line 37 of file error.cpp.

Referenced by processError().

void Info ( const char *  format,
  ... 
)
static void processError ( const char *  format,
va_list  args,
const char *  message,
int  disposition 
) [static]

Definition at line 44 of file error.cpp.

References findWordEnd(), PBRT_ERROR_ABORT, PBRT_ERROR_IGNORE, and TerminalWidth().

Referenced by Error(), Info(), Severe(), and Warning().

void Severe ( const char *  format,
  ... 
)
void Warning ( const char *  format,
  ... 
)
Generated on Sat Aug 28 20:00:12 2010 for pbrt by  doxygen 1.6.3