Panda3D
notifySeverity.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file notifySeverity.h
10  * @author drose
11  * @date 2000-02-29
12  */
13 
14 #ifndef NOTIFYSEVERITY_H
15 #define NOTIFYSEVERITY_H
16 
17 #include "dtoolbase.h"
18 
19 BEGIN_PUBLISH
20 enum NotifySeverity {
21  NS_unspecified, // Never used, a special case internally.
22  NS_spam,
23  NS_debug,
24  NS_info,
25  NS_warning,
26  NS_error, // Specifically, a recoverable error.
27  NS_fatal // A nonrecoverable error--expect abort() or core dump.
28 };
29 END_PUBLISH
30 
31 EXPCL_DTOOL_PRC std::ostream &operator << (std::ostream &out, NotifySeverity severity);
32 EXPCL_DTOOL_PRC std::istream &operator >> (std::istream &in, NotifySeverity &severity);
33 
34 
35 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.