#include <withOutputFile.h>
Inheritance diagram for WithOutputFile:
Public Member Functions | |
WithOutputFile (bool allow_last_param, bool allow_stdout, bool binary_output) | |
virtual | ~WithOutputFile () |
ostream & | get_output () |
bool | has_output_filename () const |
Filename | get_output_filename () const |
Protected Member Functions | |
bool | check_last_arg (ProgramBase::Args &args, int minimum_args) |
bool | verify_output_file_safe () const |
Protected Attributes | |
bool | _allow_last_param |
bool | _allow_stdout |
bool | _binary_output |
string | _preferred_extension |
bool | _got_output_filename |
Filename | _output_filename |
Private Attributes | |
ofstream | _output_stream |
ostream * | _output_ptr |
|
Definition at line 30 of file withOutputFile.cxx. References _allow_last_param, _allow_stdout, _binary_output, _got_output_filename, _output_ptr, NULL, and ostream. |
|
Definition at line 45 of file withOutputFile.cxx. |
|
Definition at line 126 of file withOutputFile.cxx. References _allow_last_param, _allow_stdout, _got_output_filename, _output_filename, _preferred_extension, Filename::from_os_specific(), Filename::get_extension(), nout, and verify_output_file_safe(). Referenced by ImageWriter::handle_args(), ImageFilter::handle_args(), FltTrans::handle_args(), EggWriter::handle_args(), EggToSomething::handle_args(), EggTextureCards::handle_args(), and EggFilter::handle_args(). |
|
Definition at line 56 of file withOutputFile.cxx. References _allow_stdout, _got_output_filename, _output_filename, _output_ptr, _output_stream, Filename::c_str(), Filename::make_dir(), nassertr, nout, NULL, Filename::open_write(), ostream, Filename::set_binary(), and Filename::set_text(). Referenced by FltTrans::run(), EggToC::run(), EggToC::write_bin(), EggWriter::write_egg_file(), and EggToC::write_vertex_pool(). |
|
Definition at line 105 of file withOutputFile.cxx. References _output_filename, and Filename. Referenced by EggToX::run(), EggToBam::run(), EggMakeFont::run(), and ImageWriter::write_image(). |
|
Definition at line 93 of file withOutputFile.cxx. References _got_output_filename. Referenced by EggToBam::run(), and EggMakeFont::run(). |
|
Definition at line 172 of file withOutputFile.cxx. References _got_output_filename, _output_filename, Filename::exists(), nassertr, and nout. Referenced by check_last_arg(), and SomethingToEgg::handle_args(). |
|
Definition at line 52 of file withOutputFile.h. Referenced by check_last_arg(), SomethingToEgg::handle_args(), and WithOutputFile(). |
|
Definition at line 53 of file withOutputFile.h. Referenced by check_last_arg(), get_output(), EggWriter::post_command_line(), and WithOutputFile(). |
|
Definition at line 54 of file withOutputFile.h. Referenced by WithOutputFile(). |
|
Definition at line 56 of file withOutputFile.h. Referenced by check_last_arg(), EggWriter::EggWriter(), FltTrans::FltTrans(), get_output(), SomethingToEgg::handle_args(), EggWriter::handle_args(), EggFilter::handle_args(), has_output_filename(), ImageWriter::ImageWriter(), EggWriter::post_command_line(), verify_output_file_safe(), and WithOutputFile(). |
|
Definition at line 57 of file withOutputFile.h. Referenced by check_last_arg(), EggWriter::EggWriter(), FltTrans::FltTrans(), get_output(), get_output_filename(), SomethingToEgg::handle_args(), EggWriter::handle_args(), EggFilter::handle_args(), ImageWriter::ImageWriter(), MayaToEgg::run(), and verify_output_file_safe(). |
|
Reimplemented in EggWriter. Definition at line 61 of file withOutputFile.h. Referenced by get_output(), and WithOutputFile(). |
|
Reimplemented in EggWriter. Definition at line 60 of file withOutputFile.h. Referenced by get_output(). |
|
Definition at line 55 of file withOutputFile.h. Referenced by check_last_arg(), EggConverter::EggConverter(), EggToSomething::EggToSomething(), EggWriter::EggWriter(), FltTrans::FltTrans(), and SomethingToEgg::SomethingToEgg(). |