Panda3D
eggFilter.h
1 // Filename: eggFilter.h
2 // Created by: drose (14Feb00)
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 EGGFILTER_H
16 #define EGGFILTER_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "eggReader.h"
21 #include "eggWriter.h"
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : EggFilter
25 // Description : This is the base class for a program that reads an
26 // egg file, operates on it, and writes another egg file
27 // out.
28 ////////////////////////////////////////////////////////////////////
29 class EggFilter : public EggReader, public EggWriter {
30 public:
31  EggFilter(bool allow_last_param = false, bool allow_stdout = true);
32 
33 protected:
34  virtual bool handle_args(Args &args);
35  virtual bool post_command_line();
36 };
37 
38 #endif
39 
40 
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
This is the base class for a program that reads egg files, but doesn't write an egg file...
Definition: eggReader.h:30
This is the base class for a program that generates an egg file output, but doesn't read any for inpu...
Definition: eggWriter.h:30