30 EggWriter(
bool allow_last_param =
false,
bool allow_stdout =
true);
38 virtual bool handle_args(
Args &args);
39 virtual bool post_command_line();
42 std::ofstream _output_stream;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This specialization of EggBase is intended for programs that read and/or write a single egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void post_process_egg_file()
Performs any processing of the egg file that is appropriate before writing it out.
void write_egg_file()
Writes out the egg file as the normal result of the program.
virtual EggWriter * as_writer()
Returns this object as an EggWriter pointer, if it is in fact an EggWriter, or NULL if it is not.
This is the bare functionality (intended to be inherited from along with ProgramBase or some derivati...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the base class for a program that generates an egg file output, but doesn't read any for inpu...
EggWriter(bool allow_last_param=false, bool allow_stdout=true)
Egg-writing type programs may specify their output file using either the last-filename convention,...