15 #include "eggAnimPreload.h"
17 #include "string_utils.h"
29 write(ostream &out,
int indent_level)
const {
30 test_under_integrity();
35 indent(out, indent_level + 2)
36 <<
"<Scalar> fps { " <<
get_fps() <<
" }\n";
39 if (has_num_frames()) {
40 indent(out, indent_level + 2)
44 indent(out, indent_level) <<
"}\n";
void write_header(ostream &out, int indent_level, const char *egg_keyword) const
Writes the first line of the egg object, e.g.
virtual void write(ostream &out, int indent_level) const
Writes the table and all of its children to the indicated output stream in Egg format.
int get_num_frames() const
This is only valid if has_num_frames() returns true.
TypeHandle is the identifier used to differentiate C++ class types.
double get_fps() const
This is only valid if has_fps() returns true.