Panda3D
withOutputFile.I
1 // Filename: withOutputFile.I
2 // Created by: drose (01Oct03)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: WithOutputFile::set_binary_output
18 // Access: Protected
19 // Description: Changes the flag specifying whether the output file
20 // is to be opened in binary mode or not.
21 ////////////////////////////////////////////////////////////////////
22 INLINE void WithOutputFile::
23 set_binary_output(bool binary_output) {
24  _binary_output = binary_output;
25 }