Panda3D
|
This is the base class for a program that reads an egg file, operates on it, and writes another egg file out. More...
#include "eggFilter.h"
Public Member Functions | |
EggFilter (bool allow_last_param=false, bool allow_stdout=true) | |
Protected Member Functions | |
virtual bool | handle_args (Args &args) |
Does something with the additional arguments on the command line (after all the -options have been parsed). | |
virtual bool | post_command_line () |
This is called after the command line has been completely processed, and it gives the program a chance to do some last-minute processing and validation of the options and arguments. |
This is the base class for a program that reads an egg file, operates on it, and writes another egg file out.
Definition at line 29 of file eggFilter.h.
bool EggFilter::handle_args | ( | ProgramBase::Args & | args | ) | [protected, virtual] |
Does something with the additional arguments on the command line (after all the -options have been parsed).
Returns true if the arguments are good, false otherwise.
Reimplemented from EggReader.
Reimplemented in SomethingToEgg, EggToBam, EggToSomething, and EggQtess.
Definition at line 57 of file eggFilter.cxx.
References WithOutputFile::check_last_arg(), and Filename::get_dirname().
bool EggFilter::post_command_line | ( | ) | [protected, virtual] |
This is called after the command line has been completely processed, and it gives the program a chance to do some last-minute processing and validation of the options and arguments.
It should return true if everything is fine, false if there is an error.
Reimplemented from EggReader.
Reimplemented in SomethingToEgg, and EggCrop.
Definition at line 76 of file eggFilter.cxx.