Panda3D
datagram_ui.h
1 // Filename: datagram_ui.h
2 // Created by: drose (09Feb00)
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 #ifndef DATAGRAM_UI_H
16 #define DATAGRAM_UI_H
17 
18 ////////////////////////////////////////////////////////////////////
19 //
20 // The functions defined here are used for testing purposes only by
21 // some of the various test_* programs in this directory. They are
22 // not compiled into the package library, libnet.so.
23 //
24 // These functions are handy for getting and reporting a datagram from
25 // and to the user. They extend a datagram by encoding information
26 // about the types of values stored in it.
27 //
28 ////////////////////////////////////////////////////////////////////
29 
30 #include "pandabase.h"
31 
32 #include "netDatagram.h"
33 
34 istream &operator >> (istream &in, NetDatagram &datagram);
35 ostream &operator << (ostream &out, const NetDatagram &datagram);
36 
37 #endif
A specific kind of Datagram, especially for sending across or receiving from a network.
Definition: netDatagram.h:43