0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | List of all members
Hypertable::FixedIstream Class Reference

Input stream using a fixed buffer. More...

#include <FixedStream.h>

Inheritance diagram for Hypertable::FixedIstream:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::FixedIstream:
Collaboration graph
[legend]

Public Types

typedef FixedStreamBuf StreamBuf
 

Public Member Functions

 FixedIstream (const char *buf, const char *end)
 Constructs the input stream from an existing buffer; all streamed objects are read from that buffer. More...
 
char * input ()
 Returns a pointer to the beginning of the input buffer. More...
 
char * input_ptr ()
 Returns a pointer to the current position in the input buffer. More...
 
char * input_end ()
 Returns a pointer to the end of the input buffer. More...
 

Additional Inherited Members

- Private Member Functions inherited from Hypertable::FixedStreamBuf
 FixedStreamBuf (char *buf, size_t len)
 Constructor. More...
 
 FixedStreamBuf (const char *buf, const char *next, const char *end)
 Constructor. More...
 
String str ()
 Returns a String object from the output buffer. More...
 

Detailed Description

Input stream using a fixed buffer.

Definition at line 104 of file FixedStream.h.

Member Typedef Documentation

Definition at line 106 of file FixedStream.h.

Constructor & Destructor Documentation

Hypertable::FixedIstream::FixedIstream ( const char *  buf,
const char *  end 
)
inline

Constructs the input stream from an existing buffer; all streamed objects are read from that buffer.

Parameters
bufPointer to the beginning of the memory buffer
endPointer to the end of the memory buffer

Definition at line 114 of file FixedStream.h.

Member Function Documentation

char* Hypertable::FixedIstream::input ( )
inline

Returns a pointer to the beginning of the input buffer.

Definition at line 120 of file FixedStream.h.

char* Hypertable::FixedIstream::input_end ( )
inline

Returns a pointer to the end of the input buffer.

Definition at line 126 of file FixedStream.h.

char* Hypertable::FixedIstream::input_ptr ( )
inline

Returns a pointer to the current position in the input buffer.

Definition at line 123 of file FixedStream.h.


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