Skip to content
- [Main Page](index.md) - [Classes](annotated.md) - [Files](files.md) - [Directories](dirs.md) - [Related Pages](pages.md)
- [Class List](annotated.md) - [Alphabetical List](classes.md) - [Class Hierarchy](hierarchy.md) - [Class Members](functions.md)

MemoryStream Class Reference

#include <HashFile.h>

Inheritance diagram for MemoryStream:

Inheritance graph

[legend]

Collaboration diagram for MemoryStream:

Collaboration graph

[legend]

List of all members.


Public Member Functions

  MemoryStream ()
  MemoryStream (int size)
  MemoryStream (LONG mode)
  MemoryStream (const MemoryStream &ms)
virtual  ~MemoryStream ()
void  Init ()
void  SetSize (int size)
MemoryStream operator= (const MemoryStream &other)
BOOL  Open (LONG mode)
BOOL  Open (String &filename, LONG mode=0)
BOOL  Open (char *initbuf, LONG count, LONG mode)
BOOL  Eof ()
void  Empty ()
LONG  GetLength ()
void  SetStatusMeter ()
virtual UINT  ReadC (void *buf, LONG count)
virtual void  Read (void *buf, LONG count)
virtual void  Write (const void *buf, LONG count)
virtual void  Flush ()
virtual void  Close ()
virtual BOOL  ReadLine (String &line)
virtual BOOL  ReadLine (MemoryStream &stream)
virtual void  ParseString (String &token)
virtual void  ParseToken (String &token)
virtual void  ParseToken (char *token, char delim)
virtual void  Seek (int pos, SeekMode seekmode)
virtual LONG  GetPos ()
BOOL  IsLabel ()
BOOL  IsHeader ()
BOOL  IsHeaderAt0 ()
BOOL  IsEndHeaderAt0 ()

Public Attributes

char *  buf
LONG  pos
LONG  len
LONG  blocklen