00001 // Filename: eventStorePandaNode.cxx 00002 // Created by: drose (13Sep06) 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 "eventStorePandaNode.h" 00016 00017 TypeHandle EventStorePandaNode::_type_handle; 00018 00019 //////////////////////////////////////////////////////////////////// 00020 // Function: EventStorePandaNode::Destructor 00021 // Access: Published, Virtual 00022 // Description: 00023 //////////////////////////////////////////////////////////////////// 00024 EventStorePandaNode:: 00025 ~EventStorePandaNode() { 00026 } 00027 00028 //////////////////////////////////////////////////////////////////// 00029 // Function: EventStorePandaNode::output 00030 // Access: Published, Virtual 00031 // Description: 00032 //////////////////////////////////////////////////////////////////// 00033 void EventStorePandaNode:: 00034 output(ostream &out) const { 00035 if (_value == (PandaNode *)NULL) { 00036 out << "(empty)"; 00037 00038 } else { 00039 out << *_value; 00040 } 00041 }