Panda3D
 All Classes Functions Variables Enumerations
fltInfo.h
00001 // Filename: fltInfo.h
00002 // Created by:  drose (05Sep01)
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 FLTINFO_H
00016 #define FLTINFO_H
00017 
00018 #include "pandatoolbase.h"
00019 
00020 #include "programBase.h"
00021 
00022 class FltRecord;
00023 
00024 ////////////////////////////////////////////////////////////////////
00025 //       Class : FltInfo
00026 // Description : A program to read a flt file and report interesting
00027 //               things about it.
00028 ////////////////////////////////////////////////////////////////////
00029 class FltInfo : public ProgramBase {
00030 public:
00031   FltInfo();
00032 
00033   void run();
00034 
00035 protected:
00036   virtual bool handle_args(Args &args);
00037 
00038   void list_hierarchy(FltRecord *record, int indent_level);
00039 
00040   Filename _input_filename;
00041   bool _list_hierarchy;
00042 };
00043 
00044 #endif
00045 
 All Classes Functions Variables Enumerations