Panda3D
|
00001 // Filename: auxSceneData.cxx 00002 // Created by: drose (27Sep04) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "auxSceneData.h" 00016 #include "indent.h" 00017 00018 TypeHandle AuxSceneData::_type_handle; 00019 00020 //////////////////////////////////////////////////////////////////// 00021 // Function: AuxSceneData::output 00022 // Access: Published, Virtual 00023 // Description: 00024 //////////////////////////////////////////////////////////////////// 00025 void AuxSceneData:: 00026 output(ostream &out) const { 00027 out << get_type() << " expires " << get_expiration_time(); 00028 } 00029 00030 //////////////////////////////////////////////////////////////////// 00031 // Function: AuxSceneData::write 00032 // Access: Published, Virtual 00033 // Description: 00034 //////////////////////////////////////////////////////////////////// 00035 void AuxSceneData:: 00036 write(ostream &out, int indent_level) const { 00037 indent(out, indent_level) << *this << "\n"; 00038 }