Panda3D
eggConverter.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 eggConverter.h
10  * @author drose
11  * @date 2000-02-15
12  */
13 
14 #ifndef EGGCONVERTER_H
15 #define EGGCONVERTER_H
16 
17 #include "pandatoolbase.h"
18 
19 #include "eggFilter.h"
20 
21 /**
22  * This is a general base class for programs that convert between egg files
23  * and some other format. See EggToSomething and SomethingToEgg.
24  */
25 class EggConverter : public EggFilter {
26 public:
27  EggConverter(const std::string &format_name,
28  const std::string &preferred_extension = std::string(),
29  bool allow_last_param = true,
30  bool allow_stdout = true);
31 
32 protected:
33  std::string _format_name;
34 };
35 
36 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a general base class for programs that convert between egg files and some other format.
Definition: eggConverter.h:25
This is the base class for a program that reads an egg file, operates on it, and writes another egg f...
Definition: eggFilter.h:26
EggConverter(const std::string &format_name, const std::string &preferred_extension=std::string(), bool allow_last_param=true, bool allow_stdout=true)
The first parameter to the constructor should be the one-word name of the alien file format that is t...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.