Panda3D
Loading...
Searching...
No Matches
xFileTrans.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 xFileTrans.h
10 * @author drose
11 * @date 2004-10-03
12 */
13
14#ifndef XFILETRANS_H
15#define XFILETRANS_H
16
17#include "pandatoolbase.h"
18
19#include "programBase.h"
20#include "withOutputFile.h"
21
22/**
23 * A program to read a X file and output an essentially similar X file. This
24 * is mainly useful to test the X file parser used in Panda.
25 */
26class XFileTrans : public ProgramBase, public WithOutputFile {
27public:
28 XFileTrans();
29
30 void run();
31
32protected:
33 virtual bool handle_args(Args &args);
34
35 Filename _input_filename;
36};
37
38#endif
The name of a file, such as a texture file or an Egg file.
Definition filename.h:44
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition programBase.h:34
This is the bare functionality (intended to be inherited from along with ProgramBase or some derivati...
A program to read a X file and output an essentially similar X file.
Definition xFileTrans.h:26
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.