ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
MapErrorMsg.h File Reference

Go to the source code of this file.

Classes

class  MapErrorMsg
 

Enumerations

enum  MapErrorState {
  WARN_BUG, WARN_FATAL, WARN_UNDEF, WARN_FILE,
  WARN_MSG, WARN_TRIVIAL, WARN_ALL
}
 

Functions

MapErrorMsgCreateErrorMsg ()
 

Variables

class MapErrorMsgg_msg
 

Enumeration Type Documentation

◆ MapErrorState

Enumerator
WARN_BUG 
WARN_FATAL 
WARN_UNDEF 
WARN_FILE 
WARN_MSG 
WARN_TRIVIAL 
WARN_ALL 
33  {
34  WARN_BUG,
35  WARN_FATAL,
36  WARN_UNDEF,
37  WARN_FILE,
38  WARN_MSG,
40  WARN_ALL

Function Documentation

◆ CreateErrorMsg()

MapErrorMsg* CreateErrorMsg ( )
203 {
204  if (g_msg == NULL)
205  {
206  g_msg = new MapErrorMsg();
207  }
208 
209  return g_msg;
210 }

References g_msg.

Referenced by main().

Variable Documentation

◆ g_msg

class MapErrorMsg* g_msg
WARN_FILE
Definition: MapErrorMsg.h:37
WARN_MSG
Definition: MapErrorMsg.h:38
WARN_FATAL
Definition: MapErrorMsg.h:35
MapErrorMsg
Definition: MapErrorMsg.h:43
WARN_UNDEF
Definition: MapErrorMsg.h:36
g_msg
MapErrorMsg * g_msg
Definition: MapErrorMsg.cpp:41
WARN_ALL
Definition: MapErrorMsg.h:40
MapErrorState
MapErrorState
Definition: MapErrorMsg.h:33
WARN_BUG
Definition: MapErrorMsg.h:34
WARN_TRIVIAL
Definition: MapErrorMsg.h:39