MrSID Decode SDK for LiDAR Reference Manual  1.1.4.4709
Stream Class Reference

Stream is the base class for buffered input and output for IO objects.

#include <Stream.h>

Inheritance diagram for Stream:
StreamReader StreamWriter

List of all members.

Public Types

enum  { DefaultBufferSize = 1 << 12 }
 Default Buffer Size (4096). More...
enum  Mode { MODE_SET = 0, MODE_CUR = 1, MODE_END = 2 }
 Seek offset origin. More...
typedef IO::offset_type offset_type
 Integer data type for seek() and tell() offsets.

Public Member Functions

IOgetIO ()
 Get the underlying IO object.

Protected Types

typedef unsigned char byte_t

Protected Member Functions

 ~Stream (void)
 Stream (void)

Protected Attributes

IOm_io
size_t m_size
offset_type m_pos
byte_tm_head
byte_tm_cur
byte_tm_tail

Detailed Description

Definition at line 23 of file Stream.h.


Member Typedef Documentation

typedef unsigned char Stream::byte_t [protected]

Definition at line 59 of file Stream.h.

Definition at line 48 of file Stream.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
DefaultBufferSize 

Definition at line 30 of file Stream.h.

Enumerator:
MODE_SET 

seek from the begining of the file

MODE_CUR 

seek from the current location in the file

MODE_END 

seek from the end of the file

Definition at line 35 of file Stream.h.


Constructor & Destructor Documentation

Stream::~Stream ( void  ) [protected]
Stream::Stream ( void  ) [protected]

Member Function Documentation


Member Data Documentation

byte_t* Stream::m_cur [protected]

Definition at line 65 of file Stream.h.

byte_t* Stream::m_head [protected]

Definition at line 64 of file Stream.h.

IO* Stream::m_io [protected]

Definition at line 61 of file Stream.h.

Definition at line 63 of file Stream.h.

size_t Stream::m_size [protected]

Definition at line 62 of file Stream.h.

byte_t* Stream::m_tail [protected]

Definition at line 66 of file Stream.h.


The documentation for this class was generated from the following file: