Panda3D
fltError.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 fltError.h
10  * @author drose
11  * @date 2000-08-24
12  */
13 
14 #ifndef FLTERROR_H
15 #define FLTERROR_H
16 
17 #include "pandatoolbase.h"
18 
19 // Return values for various functions in the flt library.
20 enum FltError {
21  FE_ok = 0,
22  FE_could_not_open,
23  FE_empty_file,
24  FE_end_of_file,
25  FE_read_error,
26  FE_invalid_record,
27  FE_extra_data,
28  FE_write_error,
29  FE_bad_data,
30  FE_not_implemented,
31  FE_undefined_instance,
32  FE_internal
33 };
34 
35 std::ostream &operator << (std::ostream &out, FltError error);
36 
37 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.