Panda3D
xFileTrans.h
1 // Filename: xFileTrans.h
2 // Created by: drose (03Oct04)
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 XFILETRANS_H
16 #define XFILETRANS_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "programBase.h"
21 #include "withOutputFile.h"
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : XFileTrans
25 // Description : A program to read a X file and output an
26 // essentially similar X file. This is mainly useful
27 // to test the X file parser used in Panda.
28 ////////////////////////////////////////////////////////////////////
29 class XFileTrans : public ProgramBase, public WithOutputFile {
30 public:
31  XFileTrans();
32 
33  void run();
34 
35 protected:
36  virtual bool handle_args(Args &args);
37 
38  Filename _input_filename;
39 };
40 
41 #endif
42 
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition: programBase.h:37
A program to read a X file and output an essentially similar X file.
Definition: xFileTrans.h:29
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
This is the bare functionality (intended to be inherited from along with ProgramBase or some derivati...