Panda3D
copy_stream.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file copy_stream.h
10  * @author drose
11  * @date 2009-08-27
12  */
13 
14 #ifndef COPY_STREAM_H
15 #define COPY_STREAM_H
16 
17 #include "pandabase.h"
18 
19 BEGIN_PUBLISH
20 EXPCL_PANDA_EXPRESS bool
21 copy_stream(std::istream &source, std::ostream &dest);
22 END_PUBLISH
23 
24 #endif
BEGIN_PUBLISH EXPCL_PANDA_EXPRESS bool copy_stream(std::istream &source, std::ostream &dest)
Reads the source stream from its current position to the end of the stream, and writes that data to t...
Definition: copy_stream.cxx:22
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.