Panda3D
|
This is a general base class for programs that convert between egg files and some other format. More...
#include "eggConverter.h"
Public Member Functions | |
EggConverter (const string &format_name, const string &preferred_extension=string(), bool allow_last_param=true, bool allow_stdout=true) | |
The first parameter to the constructor should be the one-word name of the alien file format that is to be read or written, for instance "OpenFlight" or "Alias". | |
Protected Attributes | |
string | _format_name |
This is a general base class for programs that convert between egg files and some other format.
See EggToSomething and SomethingToEgg.
Definition at line 28 of file eggConverter.h.
EggConverter::EggConverter | ( | const string & | format_name, |
const string & | preferred_extension = string() , |
||
bool | allow_last_param = true , |
||
bool | allow_stdout = true |
||
) |
The first parameter to the constructor should be the one-word name of the alien file format that is to be read or written, for instance "OpenFlight" or "Alias".
It's just used in printing error messages and such. The second parameter is the preferred extension of files of this form, if any, with a leading dot.
Definition at line 29 of file eggConverter.cxx.