Panda3D
fltInfo.h
1 // Filename: fltInfo.h
2 // Created by: drose (05Sep01)
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 FLTINFO_H
16 #define FLTINFO_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "programBase.h"
21 
22 class FltRecord;
23 
24 ////////////////////////////////////////////////////////////////////
25 // Class : FltInfo
26 // Description : A program to read a flt file and report interesting
27 // things about it.
28 ////////////////////////////////////////////////////////////////////
29 class FltInfo : public ProgramBase {
30 public:
31  FltInfo();
32 
33  void run();
34 
35 protected:
36  virtual bool handle_args(Args &args);
37 
38  void list_hierarchy(FltRecord *record, int indent_level);
39 
40  Filename _input_filename;
41  bool _list_hierarchy;
42 };
43 
44 #endif
45 
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition: programBase.h:37
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
The base class for all kinds of records in a MultiGen OpenFlight file.
Definition: fltRecord.h:40
A program to read a flt file and report interesting things about it.
Definition: fltInfo.h:29