This is a base class for a program that reads in a number of egg files, operates on them, and writes them out again (presumably to a different directory).
More...
#include "eggMultiFilter.h"
List of all members.
Public Member Functions |
|
| EggMultiFilter (bool allow_empty=false) |
Protected Member Functions |
| Filename | get_output_filename (const Filename &source_filename) const |
| | Returns the output filename of the egg file with the given input filename.
|
| 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.
|
| virtual void | write_eggs () |
| | Writes out all of the egg files in the _eggs vector, to the output directory if one is specified, or over the input files if -inplace was specified.
|
Protected Attributes |
|
bool | _allow_empty |
|
Filename | _filename |
|
bool | _got_input_filename |
|
bool | _got_output_dirname |
|
bool | _got_output_filename |
|
bool | _inplace |
|
Filename | _input_filename |
|
Filename | _output_dirname |
|
Filename | _output_filename |
|
bool | _read_only |
Detailed Description
This is a base class for a program that reads in a number of egg files, operates on them, and writes them out again (presumably to a different directory).
Definition at line 28 of file eggMultiFilter.h.
Member Function Documentation
| Filename EggMultiFilter::get_output_filename |
( |
const Filename & |
source_filename | ) |
const [protected] |
Returns the output filename of the egg file with the given input filename.
This is based on the user's choice of -inplace, -o, or -d.
Definition at line 185 of file eggMultiFilter.cxx.
Referenced by write_eggs().
| bool EggMultiFilter::handle_args |
( |
ProgramBase::Args & |
args | ) |
[protected, virtual] |
| bool EggMultiFilter::post_command_line |
( |
| ) |
[protected, virtual] |
| void EggMultiFilter::write_eggs |
( |
| ) |
[protected, virtual] |
The documentation for this class was generated from the following files: