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

lfc::MemoryIO Class Reference

Inheritance diagram for lfc::MemoryIO::

lfc::Object lfc::_Input< char > lfc::_Output< char > lfc::_Server lfc::_Server List of all members.

Public Methods

 MemoryIO ()
 MemoryIO (long size, char c='')
template<class It>  MemoryIO (It first, It last)
virtual ~MemoryIO () throw ()
virtual void resetInput ()
virtual bool hasMore () const
virtual char pop ()
virtual long read (char *buffer, long count, bool bWaitAll=true)
virtual void resetOutput ()
virtual bool acceptMore () const
virtual void push (const char &value)
virtual long write (const char *buffer, long count, bool bWaitAll=true)
virtual string contents () const
virtual long size () const
virtual long capacity () const
virtual void clear ()
virtual void reserve (long minCapacity)

Protected Attributes

string m_contents
long m_inputPos
long m_outputPos

Detailed Description

Todo:
document this!

make this thread safe


Constructor & Destructor Documentation

lfc::MemoryIO::MemoryIO (    )  [inline]
 

lfc::MemoryIO::MemoryIO (  long    size,
char    c = ' '
)  [inline]
 

template<class It>
lfc::MemoryIO::MemoryIO (  It    first,
It    last
)  [inline]
 

virtual lfc::MemoryIO::~MemoryIO (    )  throw () [inline, virtual]
 


Member Function Documentation

virtual void lfc::MemoryIO::resetInput (    )  [inline, virtual]
 

Reimplemented from lfc::_Input.

virtual bool lfc::MemoryIO::hasMore (    )  const [inline, virtual]
 

Reimplemented from lfc::_Input.

virtual char lfc::MemoryIO::pop (    )  [inline, virtual]
 

Reimplemented from lfc::_Input.

virtual long lfc::MemoryIO::read (  char *    buffer,
long    count,
bool    bWaitAll = true
)  [inline, virtual]
 

virtual void lfc::MemoryIO::resetOutput (    )  [inline, virtual]
 

Reimplemented from lfc::_Output.

virtual bool lfc::MemoryIO::acceptMore (    )  const [inline, virtual]
 

Reimplemented from lfc::_Output.

virtual void lfc::MemoryIO::push (  const char &    value )  [inline, virtual]
 

virtual long lfc::MemoryIO::write (  const char *    buffer,
long    count,
bool    bWaitAll = true
)  [inline, virtual]
 

virtual string lfc::MemoryIO::contents (    )  const [inline, virtual]
 

virtual long lfc::MemoryIO::size (    )  const [inline, virtual]
 

virtual long lfc::MemoryIO::capacity (    )  const [inline, virtual]
 

virtual void lfc::MemoryIO::clear (    )  [inline, virtual]
 

virtual void lfc::MemoryIO::reserve (  long    minCapacity )  [inline, virtual]
 


Member Data Documentation

string lfc::MemoryIO::m_contents [protected]
 

long lfc::MemoryIO::m_inputPos [protected]
 

long lfc::MemoryIO::m_outputPos [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Jan 25 03:13:13 2002 for LFC2 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001