historical/toontown-classic.git/panda/include/identityStreamBuf.I

29 lines
595 B
Text
Raw Normal View History

2024-01-16 11:20:27 -06:00
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file identityStreamBuf.I
* @author drose
* @date 2006-11-14
*/
/**
*
*/
INLINE bool IdentityStreamBuf::
is_closed() const {
return (_source == nullptr || (*_source)->is_closed());
}
/**
*
*/
INLINE ISocketStream::ReadState IdentityStreamBuf::
get_read_state() const {
return _read_state;
}