Panda3D
bamFile.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file bamFile.I
10  * @author drose
11  * @date 2000-07-02
12  */
13 
14 /**
15  * Returns true if the Bam file is open and ready for reading with no errors
16  * so far detected, or false otherwise.
17  */
18 INLINE bool BamFile::
19 is_valid_read() const {
20  return (_reader != nullptr);
21 }
22 
23 
24 /**
25  * Returns true if the Bam file is open and ready for writing with no errors
26  * so far detected, or false otherwise.
27  */
28 INLINE bool BamFile::
29 is_valid_write() const {
30  return (_writer != nullptr);
31 }
bool is_valid_write() const
Returns true if the Bam file is open and ready for writing with no errors so far detected,...
Definition: bamFile.I:29
bool is_valid_read() const
Returns true if the Bam file is open and ready for reading with no errors so far detected,...
Definition: bamFile.I:19