59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
// Filename: writeableParam.I
|
|
// Created by: jason (13Jun00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: WriteableParam::Constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE WriteableParam::
|
|
WriteableParam(const Datagram &datagram) :
|
|
_packet(datagram)
|
|
{
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: WriteableParam::Copy Constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE WriteableParam::
|
|
WriteableParam(const WriteableParam ©) :
|
|
FactoryParam(copy),
|
|
_packet(copy._packet)
|
|
{
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: WriteableParam::Destructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE WriteableParam::
|
|
~WriteableParam(void) {
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: WriteableParam::Copy Assignment Operator
|
|
// Access: Private
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void WriteableParam::
|
|
operator = (const WriteableParam &) {
|
|
// The assignment operator cannot be used for this class.
|
|
nassertv(false);
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: WriteableParam::get_datagram
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE const Datagram& WriteableParam::
|
|
get_datagram(void) {
|
|
return _packet;
|
|
}
|
|
|