Panda3D
netDatagram.I
1 // Filename: netDatagram.I
2 // Created by: drose (17May00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 ////////////////////////////////////////////////////////////////////
16 // Function: NetDatagram::operator ==
17 // Access: Public
18 // Description:
19 ////////////////////////////////////////////////////////////////////
20 INLINE bool NetDatagram::
21 operator == (const NetDatagram &) const {
22  return true;
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: NetDatagram::operator !=
27 // Access: Public
28 // Description:
29 ////////////////////////////////////////////////////////////////////
30 INLINE bool NetDatagram::
31 operator != (const NetDatagram &) const {
32  return false;
33 }
34 
35 ////////////////////////////////////////////////////////////////////
36 // Function: NetDatagram::operator <
37 // Access: Public
38 // Description:
39 ////////////////////////////////////////////////////////////////////
40 INLINE bool NetDatagram::
41 operator < (const NetDatagram &) const {
42  return false;
43 }
A specific kind of Datagram, especially for sending across or receiving from a network.
Definition: netDatagram.h:43