Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

plWarning Class Reference

A plWarning permets to catch internal exceptions (warning) generated when using OpenPL classes. More...

#include <plError.h>

Inheritance diagram for plWarning:

Inheritance graph
[legend]
Collaboration diagram for plWarning:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 plWarning (const int &error_id)
 Creates a warning number {error_id} with no additional information.
 plWarning (const int &error_id, const std::string &additional_info)
 Creates an warning number {error_id}, with additional information.

Static Public Member Functions

static void AlwaysDisplay (const bool &display_flag)
 Sets the display warning state to {true} or {false}.
static void AbortInWarning (const bool &wie_flag)
 Sets the aborting state to {true} or {false}.

Detailed Description

A plWarning permets to catch internal exceptions (warning) generated when using OpenPL classes.

Definition at line 129 of file plError.h.


Member Function Documentation

static void plWarning::AbortInWarning const bool &  wie_flag  )  [static]
 

Sets the aborting state to {true} or {false}.

If the aborting state is set to {true} your program will abort as soon as the first warning is generated

static void plWarning::AlwaysDisplay const bool &  display_flag  )  [static]
 

Sets the display warning state to {true} or {false}.

If the warning display state is set to {true} your program will display all warnings.

Reimplemented from plError.


The documentation for this class was generated from the following file:
Generated on Fri Apr 1 10:59:49 2005 for ProBT by  doxygen 1.4.1