17INLINE DatagramOutputFile::
20 _wrote_first_datagram =
false;
28INLINE DatagramOutputFile::
29~DatagramOutputFile() {
47 static std::ofstream null_stream;
48 nassertr(_out !=
nullptr, null_stream);
bool open(const FileReference *file)
Opens the indicated filename for writing.
void close()
Closes the file.
get_stream
Returns the ostream represented by the output file.
Keeps a reference-counted pointer to a file on disk.
The name of a file, such as a texture file or an Egg file.