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

panda/src/putil/writableParam.I

Go to the documentation of this file.
00001 // Filename: writableParam.I
00002 // Created by:  jason (13Jun00)
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 //     Function: WritableParam::Constructor
00021 //       Access: Public
00022 //  Description:
00023 ////////////////////////////////////////////////////////////////////
00024 INLINE WritableParam::
00025 WritableParam(const Datagram &datagram) :
00026   _packet(datagram)
00027 {
00028 }
00029 
00030 ////////////////////////////////////////////////////////////////////
00031 //     Function: WritableParam::Copy Constructor
00032 //       Access: Public
00033 //  Description:
00034 ////////////////////////////////////////////////////////////////////
00035 INLINE WritableParam::
00036 WritableParam(const WritableParam &copy) :
00037   FactoryParam(copy),
00038   _packet(copy._packet)
00039 {
00040 }
00041 
00042 ////////////////////////////////////////////////////////////////////
00043 //     Function: WritableParam::Destructor
00044 //       Access: Public
00045 //  Description:
00046 ////////////////////////////////////////////////////////////////////
00047 INLINE WritableParam::
00048 ~WritableParam(void) {
00049 }
00050 
00051 ////////////////////////////////////////////////////////////////////
00052 //     Function: WritableParam::Copy Assignment Operator
00053 //       Access: Private
00054 //  Description:
00055 ////////////////////////////////////////////////////////////////////
00056 INLINE void WritableParam::
00057 operator = (const WritableParam &) {
00058   // The assignment operator cannot be used for this class.
00059   nassertv(false);
00060 }
00061 
00062 ////////////////////////////////////////////////////////////////////
00063 //     Function: WritableParam::get_datagram
00064 //       Access: Public
00065 //  Description:
00066 ////////////////////////////////////////////////////////////////////
00067 INLINE const Datagram& WritableParam::
00068 get_datagram(void) {
00069   return _packet;
00070 }
00071 

Generated on Fri May 2 00:43:49 2003 for Panda by doxygen1.3