#include <fltRecordReader.h>
Public Member Functions | |
FltRecordReader (istream &in) | |
~FltRecordReader () | |
FltOpcode | get_opcode () const |
DatagramIterator & | get_iterator () |
const Datagram & | get_datagram () |
int | get_record_length () const |
FltError | advance (bool ok_eof=false) |
bool | eof () const |
bool | error () const |
Private Types | |
enum | State { S_begin, S_normal, S_eof, S_error } |
Private Member Functions | |
void | read_next_header () |
Private Attributes | |
istream & | _in |
Datagram | _datagram |
FltOpcode | _opcode |
int | _record_length |
DatagramIterator * | _iterator |
FltError | _next_error |
FltOpcode | _next_opcode |
int | _next_record_length |
State | _state |
|
Definition at line 66 of file fltRecordReader.h. |
|
Definition at line 32 of file fltRecordReader.cxx. References _iterator, _next_error, _next_opcode, _next_record_length, _opcode, _record_length, _state, FE_ok, FO_none, NULL, read_next_header(), and S_begin. |
|
Definition at line 53 of file fltRecordReader.cxx. |
|
Definition at line 118 of file fltRecordReader.cxx. References _datagram, _in, _iterator, _next_error, _next_opcode, _next_record_length, _opcode, _record_length, _state, Datagram::append_data(), assert, buffer, FE_end_of_file, FE_ok, FE_read_error, flt_error_abort, FO_continuation, length, NULL, read_next_header(), S_eof, S_error, and S_normal. |
|
Definition at line 224 of file fltRecordReader.cxx. |
|
Definition at line 235 of file fltRecordReader.cxx. |
|
Definition at line 91 of file fltRecordReader.cxx. References _iterator, _state, DatagramIterator::get_datagram(), nassertr, and S_normal. |
|
Definition at line 79 of file fltRecordReader.cxx. |
|
Definition at line 67 of file fltRecordReader.cxx. References _opcode, _state, FO_none, nassertr, and S_normal. |
|
Definition at line 106 of file fltRecordReader.cxx. References _record_length. |
|
Definition at line 251 of file fltRecordReader.cxx. References _in, _next_error, _next_opcode, _next_record_length, FE_end_of_file, FE_invalid_record, FE_read_error, DatagramIterator::get_be_int16(), and DatagramIterator::get_be_uint16(). Referenced by advance(), and FltRecordReader(). |
|
Definition at line 57 of file fltRecordReader.h. Referenced by advance(). |
|
Definition at line 56 of file fltRecordReader.h. Referenced by advance(), and read_next_header(). |
|
Definition at line 60 of file fltRecordReader.h. Referenced by advance(), FltRecordReader(), get_datagram(), get_iterator(), and ~FltRecordReader(). |
|
Definition at line 62 of file fltRecordReader.h. Referenced by advance(), FltRecordReader(), and read_next_header(). |
|
Definition at line 63 of file fltRecordReader.h. Referenced by advance(), FltRecordReader(), and read_next_header(). |
|
Definition at line 64 of file fltRecordReader.h. Referenced by advance(), FltRecordReader(), and read_next_header(). |
|
Definition at line 58 of file fltRecordReader.h. Referenced by advance(), FltRecordReader(), and get_opcode(). |
|
Definition at line 59 of file fltRecordReader.h. Referenced by advance(), FltRecordReader(), and get_record_length(). |
|
Definition at line 72 of file fltRecordReader.h. Referenced by advance(), eof(), error(), FltRecordReader(), get_datagram(), get_iterator(), and get_opcode(). |