00001 // Filename: datagram_ui.h 00002 // Created by: drose (09Feb00) 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 #ifndef DATAGRAM_UI_H 00020 #define DATAGRAM_UI_H 00021 00022 //////////////////////////////////////////////////////////////////// 00023 // 00024 // The functions defined here are used for testing purposes only by 00025 // some of the various test_* programs in this directory. They are 00026 // not compiled into the package library, libnet.so. 00027 // 00028 // These functions are handy for getting and reporting a datagram from 00029 // and to the user. They extend a datagram by encoding information 00030 // about the types of values stored in it. 00031 // 00032 //////////////////////////////////////////////////////////////////// 00033 00034 #include <pandabase.h> 00035 00036 #include "netDatagram.h" 00037 00038 istream &operator >> (istream &in, NetDatagram &datagram); 00039 ostream &operator << (ostream &out, const NetDatagram &datagram); 00040 00041 #endif
1.3