Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

StreamReader Class Reference

#include <streamReader.h>

List of all members.

Public Member Functions

INLINE StreamReader (istream &in)
INLINE StreamReader (const StreamReader &copy)
INLINE void operator= (const StreamReader &copy)
INLINE ~StreamReader ()
INLINE istream * get_istream () const
INLINE bool get_bool ()
INLINE PN_int8 get_int8 ()
INLINE PN_uint8 get_uint8 ()
INLINE PN_int16 get_int16 ()
INLINE PN_int32 get_int32 ()
INLINE PN_int64 get_int64 ()
INLINE PN_uint16 get_uint16 ()
INLINE PN_uint32 get_uint32 ()
INLINE PN_uint64 get_uint64 ()
INLINE float get_float32 ()
INLINE PN_float64 get_float64 ()
INLINE PN_int16 get_be_int16 ()
INLINE PN_int32 get_be_int32 ()
INLINE PN_int64 get_be_int64 ()
INLINE PN_uint16 get_be_uint16 ()
INLINE PN_uint32 get_be_uint32 ()
INLINE PN_uint64 get_be_uint64 ()
INLINE float get_be_float32 ()
INLINE PN_float64 get_be_float64 ()
string get_string ()
string get_z_string ()
string get_fixed_string (size_t size)
void skip_bytes (size_t size)
string extract_bytes (size_t size)
string readline ()

Public Attributes

PUBLISHED __pad0__: INLINE StreamReader(istream *in
PUBLISHED bool owns_stream

Private Attributes

istream * _in
bool _owns_stream


Constructor & Destructor Documentation

INLINE StreamReader::StreamReader istream &  in  ) 
 

INLINE StreamReader::StreamReader const StreamReader &  copy  ) 
 

INLINE StreamReader::~StreamReader  ) 
 


Member Function Documentation

string StreamReader::extract_bytes size_t  size  ) 
 

Definition at line 106 of file streamReader.cxx.

References _in, and p.

INLINE float StreamReader::get_be_float32  ) 
 

INLINE PN_float64 StreamReader::get_be_float64  ) 
 

INLINE PN_int16 StreamReader::get_be_int16  ) 
 

INLINE PN_int32 StreamReader::get_be_int32  ) 
 

INLINE PN_int64 StreamReader::get_be_int64  ) 
 

INLINE PN_uint16 StreamReader::get_be_uint16  ) 
 

INLINE PN_uint32 StreamReader::get_be_uint32  ) 
 

INLINE PN_uint64 StreamReader::get_be_uint64  ) 
 

INLINE bool StreamReader::get_bool  ) 
 

string StreamReader::get_fixed_string size_t  size  ) 
 

Definition at line 69 of file streamReader.cxx.

References _in, and p.

INLINE float StreamReader::get_float32  ) 
 

INLINE PN_float64 StreamReader::get_float64  ) 
 

INLINE PN_int16 StreamReader::get_int16  ) 
 

INLINE PN_int32 StreamReader::get_int32  ) 
 

Referenced by Patchfile::run().

INLINE PN_int64 StreamReader::get_int64  ) 
 

INLINE PN_int8 StreamReader::get_int8  ) 
 

INLINE istream* StreamReader::get_istream  )  const
 

string StreamReader::get_string  ) 
 

Definition at line 28 of file streamReader.cxx.

References _in, get_uint16(), and p.

INLINE PN_uint16 StreamReader::get_uint16  ) 
 

Referenced by get_string(), Patchfile::internal_read_header(), and Patchfile::run().

INLINE PN_uint32 StreamReader::get_uint32  ) 
 

Referenced by Patchfile::internal_read_header().

INLINE PN_uint64 StreamReader::get_uint64  ) 
 

INLINE PN_uint8 StreamReader::get_uint8  ) 
 

string StreamReader::get_z_string  ) 
 

Definition at line 49 of file streamReader.cxx.

References _in.

INLINE void StreamReader::operator= const StreamReader &  copy  ) 
 

string StreamReader::readline  ) 
 

Definition at line 132 of file streamReader.cxx.

References _in.

void StreamReader::skip_bytes size_t  size  ) 
 

Definition at line 89 of file streamReader.cxx.

References _in.


Member Data Documentation

PUBLISHED StreamReader::__pad0__
 

Definition at line 38 of file streamReader.h.

istream* StreamReader::_in [private]
 

Definition at line 77 of file streamReader.h.

Referenced by extract_bytes(), get_fixed_string(), get_string(), get_z_string(), readline(), and skip_bytes().

bool StreamReader::_owns_stream [private]
 

Definition at line 78 of file streamReader.h.

PUBLISHED bool StreamReader::owns_stream
 

Definition at line 38 of file streamReader.h.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:13:37 2003 for Panda by doxygen1.3