Panda3D
 All Classes Functions Variables Enumerations
eggConverter.h
1 // Filename: eggConverter.h
2 // Created by: drose (15Feb00)
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 EGGCONVERTER_H
16 #define EGGCONVERTER_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "eggFilter.h"
21 
22 ////////////////////////////////////////////////////////////////////
23 // Class : EggConverter
24 // Description : This is a general base class for programs that
25 // convert between egg files and some other format. See
26 // EggToSomething and SomethingToEgg.
27 ////////////////////////////////////////////////////////////////////
28 class EggConverter : public EggFilter {
29 public:
30  EggConverter(const string &format_name,
31  const string &preferred_extension = string(),
32  bool allow_last_param = true,
33  bool allow_stdout = true);
34 
35 protected:
36  string _format_name;
37 };
38 
39 #endif
40 
41 
EggConverter(const string &format_name, const string &preferred_extension=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...
This is a general base class for programs that convert between egg files and some other format...
Definition: eggConverter.h:28
This is the base class for a program that reads an egg file, operates on it, and writes another egg f...
Definition: eggFilter.h:29