home *** CD-ROM | disk | FTP | other *** search
- /* =================
- * PedStreamInput.cc
- * =================
- */
-
- #include <string.h>
-
- #include "PedStreamInput.hh"
- #include "PedBuffer.hh"
-
- PedStreamInput::PedStreamInput()
- : mEOF(false)
- {
-
- }
-
- PedStreamInput::~PedStreamInput()
- {
-
- }
-
- short
- PedStreamInput::Flush()
- {
- return 0;
- }
-
- short
- PedStreamInput::GetByte()
- {
- return -1;
- }
-
- short
- PedStreamInput::Unget()
- {
- return -1;
- }
-
- //long
- //PedStreamInput::GetChunk(long inCount, char *inBuf)
- //{
- // if (inCount <= 0) return 0;
- // short c = GetByte();
- // if (c == -1) return 0;
- // inBuf[0] = c;
- // return 1;
- //}
- //
- //long
- //PedStreamInput::SizeOfNextChunk()
- //{
- // return 1;
- //}
- //
- //long
- //PedStreamInput::CountAheadThroughChar(char inChar)
- //{
- // if (mEOF) {
- // return -1;
- // } else {
- // return 0;
- // }
- //}
-
- bool
- PedStreamInput::AtEOF()
- {
- return mEOF;
- }
-