Panda3D
|
00001 // Filename: fltError.h 00002 // Created by: drose (24Aug00) 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 FLTERROR_H 00016 #define FLTERROR_H 00017 00018 #include "pandatoolbase.h" 00019 00020 // Return values for various functions in the flt library. 00021 enum FltError { 00022 FE_ok = 0, 00023 FE_could_not_open, 00024 FE_empty_file, 00025 FE_end_of_file, 00026 FE_read_error, 00027 FE_invalid_record, 00028 FE_extra_data, 00029 FE_write_error, 00030 FE_bad_data, 00031 FE_not_implemented, 00032 FE_undefined_instance, 00033 FE_internal 00034 }; 00035 00036 ostream &operator << (ostream &out, FltError error); 00037 00038 #endif 00039 00040 00041