StringInputBuffer Class Reference

This class allows an application to create an input stream in which the contents are supplied by the contents of a string. More...

#include <StringInputBuffer.hpp>

List of all members.

Public Member Functions

 StringInputBuffer (std::string &_istr)
 Creates an input stream from the specified string with its index position equal to zero.
int getChar ()
 Returns the next character in this stream.


Detailed Description

This class allows an application to create an input stream in which the contents are supplied by the contents of a string.

Author:
Andy Wolski, Daniel Bates
Version:
1.1

Definition at line 37 of file StringInputBuffer.hpp.


Constructor & Destructor Documentation

StringInputBuffer::StringInputBuffer ( std::string &  _istr  ) 

Creates an input stream from the specified string with its index position equal to zero.

Parameters:
_istr the string
See also:
std::string

Definition at line 26 of file StringInputBuffer.cpp.


Member Function Documentation

int StringInputBuffer::getChar (  ) 

Returns the next character in this stream.

Returns:
next character in this stream.

Definition at line 32 of file StringInputBuffer.cpp.


Generated on Fri Feb 12 15:47:57 2010 for Universal Accelerator Parser by  doxygen 1.5.7