guards.cpp File Reference

#include "function.h"
#include "guards.h"
#include "istring.h"
#include "log_base.h"
#include "portable.h"
#include "utility.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

Include dependency graph for guards.cpp:

Go to the source code of this file.

Namespaces

namespace  guards

Functions

void guards::write_to_console (const char *message)
 Prints out a message to the standard error file stream.
void guards::alert_message (const char *info, const char *title="Alert Message")
 shows the message in "info", with an optional "title" on the message.
void guards::alert_message (const istring &info)
void guards::alert_message (const istring &info, const istring &title)
void guards::make_error_message (const char *file, int line, const char *error_class, const char *error_function, const char *info, char *guards_message_space)
 Used to build our particular type of error message.
void guards::FL_deadly_error (const char *file, int line, const char *classname, const char *function_name, const char *info)
 Prints out an error message and then exits the program.
void guards::FL_deadly_error (const istring &file, int line, const istring &classname, const istring &function_name, const istring &info)
 A version that takes strings instead of char pointers.
void guards::FL_continuable_error_real (const char *file, int line, const char *error_class, const char *error_function, const char *info, const char *title)
void guards::FL_continuable_error (const char *file, int line, const char *classname, const char *function_name, const char *info, const char *title)
 Describes an error like deadly_error, but does not exit the program.
void guards::FL_continuable_error (const istring &file, int line, const istring &classname, const istring &function_name, const istring &info, const istring &title)
 A version using istring instead of char pointers.
void guards::FL_non_continuable_error (const char *file, int line, const char *classname, const char *function_name, const char *info, const char *title)
 Shows the same information as continuable_error, but causes an exit.
void guards::FL_non_continuable_error (const istring &file, int line, const istring &classname, const istring &function_name, const istring &info, const istring &title)
 A version using istring instead of char pointers.
void guards::FL_console_error (const char *file, int line, const char *error_class, const char *error_function, const char *info)
 Prints out an error message to the standard error file stream.
void guards::FL_out_of_memory_now (const char *file, int line, const char *classname, const char *function_name)
 Causes the program to exit due to a memory allocation failure.
void guards::implement_bounds_halt (const char *the_class_name, const char *func, const char *value, const char *low, const char *high, const char *error_addition)
 Provides the real implementation of bounds_halt to save code space.

Variables

const int guards::MESSAGE_SPACE_PROVIDED = 4096


Generated on Tue Aug 19 04:49:10 2008 for HOOPLE Libraries by  doxygen 1.5.1