#include <datagramInputFile.h>
Inheritance diagram for DatagramInputFile:
Public Member Functions | |
INLINE | DatagramInputFile () |
bool | open (Filename filename) |
bool | read_header (string &header, size_t num_bytes) |
virtual bool | get_datagram (Datagram &data) |
virtual bool | is_eof () |
virtual bool | is_error () |
INLINE void | close () |
Private Attributes | |
bool | _read_first_datagram |
bool | _error |
ifstream | _in_file |
istream * | _in |
bool | _owns_in |
|
|
|
Referenced by BamFile::close(). |
|
Implements DatagramGenerator. Definition at line 98 of file datagramInputFile.cxx. References _error, _in, _read_first_datagram, buffer, data, DatagramIterator::get_uint32(), NULL, and PN_uint32. |
|
Implements DatagramGenerator. Definition at line 149 of file datagramInputFile.cxx. References _in. |
|
Implements DatagramGenerator. Definition at line 160 of file datagramInputFile.cxx. |
|
Definition at line 41 of file datagramInputFile.cxx. References _error, _in, _in_file, _owns_in, _read_first_datagram, VirtualFileSystem::get_global_ptr(), NULL, and PT. Referenced by BamFile::open_read(). |
|
Definition at line 75 of file datagramInputFile.cxx. References _in, _read_first_datagram, buffer, and NULL. Referenced by BamFile::open_read(). |
|
Definition at line 48 of file datagramInputFile.h. Referenced by get_datagram(), is_error(), and open(). |
|
Definition at line 50 of file datagramInputFile.h. Referenced by get_datagram(), is_eof(), is_error(), open(), and read_header(). |
|
Definition at line 49 of file datagramInputFile.h. Referenced by open(). |
|
Definition at line 51 of file datagramInputFile.h. Referenced by open(). |
|
Definition at line 47 of file datagramInputFile.h. Referenced by get_datagram(), open(), and read_header(). |