Panda3D
fltError.h
1 // Filename: fltError.h
2 // Created by: drose (24Aug00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef FLTERROR_H
16 #define FLTERROR_H
17 
18 #include "pandatoolbase.h"
19 
20 // Return values for various functions in the flt library.
21 enum FltError {
22  FE_ok = 0,
23  FE_could_not_open,
24  FE_empty_file,
25  FE_end_of_file,
26  FE_read_error,
27  FE_invalid_record,
28  FE_extra_data,
29  FE_write_error,
30  FE_bad_data,
31  FE_not_implemented,
32  FE_undefined_instance,
33  FE_internal
34 };
35 
36 ostream &operator << (ostream &out, FltError error);
37 
38 #endif
39 
40 
41