Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

pandatool/src/eggbase/eggMultiFilter.h

Go to the documentation of this file.
00001 // Filename: eggMultiFilter.h
00002 // Created by:  drose (02Nov00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef EGGMULTIFILTER_H
00020 #define EGGMULTIFILTER_H
00021 
00022 #include <pandatoolbase.h>
00023 
00024 #include "eggMultiBase.h"
00025 
00026 ////////////////////////////////////////////////////////////////////
00027 //       Class : EggMultiFilter
00028 // Description : This is a base class for a program that reads in a
00029 //               number of egg files, operates on them, and writes
00030 //               them out again (presumably to a different directory).
00031 ////////////////////////////////////////////////////////////////////
00032 class EggMultiFilter : public EggMultiBase {
00033 public:
00034   EggMultiFilter(bool allow_empty = false);
00035 
00036 protected:
00037   virtual bool handle_args(Args &args);
00038   virtual bool post_command_line();
00039 
00040   Filename get_output_filename(const Filename &source_filename) const;
00041   virtual void write_eggs();
00042 
00043 protected:
00044   bool _allow_empty;
00045   bool _got_output_filename;
00046   Filename _output_filename;
00047   bool _got_output_dirname;
00048   Filename _output_dirname;
00049   bool _inplace;
00050 };
00051 
00052 #endif
00053 
00054 

Generated on Fri May 2 03:18:35 2003 for Panda-Tool by doxygen1.3