Panda3D

notifySeverity.h

00001 // Filename: notifySeverity.h
00002 // Created by:  drose (29Feb00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef NOTIFYSEVERITY_H
00016 #define NOTIFYSEVERITY_H
00017 
00018 #include "dtoolbase.h"
00019 
00020 BEGIN_PUBLISH
00021 enum NotifySeverity {
00022   NS_unspecified,  // Never used, a special case internally.
00023   NS_spam,
00024   NS_debug,
00025   NS_info,
00026   NS_warning,
00027   NS_error,        // Specifically, a recoverable error.
00028   NS_fatal         // A nonrecoverable error--expect abort() or core dump.
00029 };
00030 END_PUBLISH
00031 
00032 EXPCL_DTOOLCONFIG ostream &operator << (ostream &out, NotifySeverity severity);
00033 EXPCL_DTOOLCONFIG istream &operator >> (istream &in, NotifySeverity &severity);
00034 
00035 
00036 #endif
 All Classes Functions Variables Enumerations