Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/pgraph/bamFile.I

Go to the documentation of this file.
00001 // Filename: bamFile.I
00002 // Created by:  drose (02Jul00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 
00020 ////////////////////////////////////////////////////////////////////
00021 //     Function: BamFile::is_valid_read
00022 //       Access: Public
00023 //  Description: Returns true if the Bam file is open and ready for
00024 //               reading with no errors so far detected, or false
00025 //               otherwise.
00026 ////////////////////////////////////////////////////////////////////
00027 INLINE bool BamFile::
00028 is_valid_read() const {
00029   return (_reader != (BamReader *)NULL);
00030 }
00031 
00032 
00033 ////////////////////////////////////////////////////////////////////
00034 //     Function: BamFile::is_valid_write
00035 //       Access: Public
00036 //  Description: Returns true if the Bam file is open and ready for
00037 //               writing with no errors so far detected, or false
00038 //               otherwise.
00039 ////////////////////////////////////////////////////////////////////
00040 INLINE bool BamFile::
00041 is_valid_write() const {
00042   return (_writer != (BamWriter *)NULL);
00043 }
00044 

Generated on Fri May 2 00:41:05 2003 for Panda by doxygen1.3