Panda3D
panda
src
downloader
chunkedStreamBuf.I
1
// Filename: chunkedStreamBuf.I
2
// Created by: drose (14Nov06)
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
////////////////////////////////////////////////////////////////////
17
// Function: ChunkedStreamBuf::is_closed
18
// Access: Public
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE
bool
ChunkedStreamBuf::
22
is_closed()
const
{
23
return
(_source == (BioStreamPtr *)NULL || (*_source)->is_closed());
24
}
25
26
////////////////////////////////////////////////////////////////////
27
// Function: ChunkedStreamBuf::get_read_state
28
// Access: Public
29
// Description:
30
////////////////////////////////////////////////////////////////////
31
INLINE ISocketStream::ReadState ChunkedStreamBuf::
32
get_read_state()
const
{
33
return
_read_state;
34
}
Generated on Wed May 17 2017 23:41:07 for Panda3D by
1.8.13