18 #include "pandabase.h" 19 #include "datagramInputFile.h" 20 #include "datagramOutputFile.h" 21 #include "pandaNode.h" 22 #include "pointerTo.h" 50 bool open_read(
const Filename &bam_filename,
bool report_errors =
true);
51 bool open_read(istream &in,
const string &bam_filename =
"stream",
52 bool report_errors =
true);
59 PT(
PandaNode) read_node(
bool report_errors =
true);
61 bool open_write(
const Filename &bam_filename,
bool report_errors =
true);
62 bool open_write(ostream &out,
const string &bam_filename =
"stream",
63 bool report_errors =
true);
67 INLINE
bool is_valid_read()
const;
68 INLINE
bool is_valid_write()
const;
70 int get_file_major_ver();
71 int get_file_minor_ver();
72 BamEndian get_file_endian()
const;
73 bool get_file_stdfloat_double()
const;
75 int get_current_major_ver();
76 int get_current_minor_ver();
82 bool continue_open_read(
const string &bam_filename,
bool report_errors);
83 bool continue_open_write(
const string &bam_filename,
bool report_errors);
The principle public interface to reading and writing Bam disk files.
A basic node of the scene graph or data graph.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
Base class for objects that can be written to and read from Bam files.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
The name of a file, such as a texture file or an Egg file.
This class can be used to write a binary file that consists of an arbitrary header followed by a numb...