mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
update comments
This commit is contained in:
parent
1ce6f9db76
commit
3e4776566d
@ -35,6 +35,9 @@ ISubStream() : istream(&_buf) {
|
|||||||
// start total characters. The character at "end"
|
// start total characters. The character at "end"
|
||||||
// within the source will never be read; this will
|
// within the source will never be read; this will
|
||||||
// appear to be EOF.
|
// appear to be EOF.
|
||||||
|
//
|
||||||
|
// If end is zero, it indicates that the ISubStream will
|
||||||
|
// continue until the end of the source stream.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE void ISubStream::
|
INLINE void ISubStream::
|
||||||
open(istream *source, streampos start, streampos end) {
|
open(istream *source, streampos start, streampos end) {
|
||||||
@ -46,7 +49,7 @@ open(istream *source, streampos start, streampos end) {
|
|||||||
// Function: ISubStream::close
|
// Function: ISubStream::close
|
||||||
// Access: Public
|
// Access: Public
|
||||||
// Description: Resets the SubStream to empty, but does not actually
|
// Description: Resets the SubStream to empty, but does not actually
|
||||||
// close its source istream.
|
// close the source istream.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE void ISubStream::
|
INLINE void ISubStream::
|
||||||
close() {
|
close() {
|
||||||
|
@ -29,6 +29,10 @@
|
|||||||
// stream will be the "start" character from the source
|
// stream will be the "start" character from the source
|
||||||
// istream; just before the file pointer reaches the
|
// istream; just before the file pointer reaches the
|
||||||
// "end" character, eof is returned.
|
// "end" character, eof is returned.
|
||||||
|
//
|
||||||
|
// The source stream must be one that we can randomly
|
||||||
|
// seek within. The resulting ISubStream will also
|
||||||
|
// support arbitrary seeks.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
class EXPCL_PANDAEXPRESS ISubStream : public istream {
|
class EXPCL_PANDAEXPRESS ISubStream : public istream {
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user