Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <TextStream.hpp>

Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| TextStream (VirtualFile *file=NULL) | |
| ~TextStream () | |
| void | ungetLine (const std::string &utf8) |
| bool | readLine (std::string &utf8) |
| bool | readLine (String &line) |
| Reads a CR or LF or CR/LF or LF/CR terminated line. | |
| bool | readLineCR (String &line) |
| Reads a CR terminated line. | |
| bool | readLineLF (String &line) |
| Reads a LF terminated line. | |
| bool | readInt (int &i, bool hex=false) |
| bool | readDouble (double &d) |
| bool | readString (String &token) |
| bool | readStdString (std::string &token) |
| bool | readQuotedString (String &token) |
Protected Attributes | |
| String | mTmpStr |
| std::string | mTmpStdStr |
| vl::TextStream::TextStream | ( | VirtualFile * | file = NULL |
) | [inline] |
| vl::TextStream::~TextStream | ( | ) | [inline] |
| virtual const char* vl::TextStream::className | ( | ) | [inline, virtual] |
| void vl::TextStream::ungetLine | ( | const std::string & | utf8 | ) | [inline] |
| bool vl::TextStream::readLine | ( | std::string & | utf8 | ) | [inline] |
| bool vl::TextStream::readLine | ( | String & | line | ) | [inline] |
Reads a CR or LF or CR/LF or LF/CR terminated line.
| bool vl::TextStream::readLineCR | ( | String & | line | ) | [inline] |
Reads a CR terminated line.
| bool vl::TextStream::readLineLF | ( | String & | line | ) | [inline] |
Reads a LF terminated line.
| bool vl::TextStream::readInt | ( | int & | i, | |
| bool | hex = false | |||
| ) | [inline] |
| bool vl::TextStream::readDouble | ( | double & | d | ) | [inline] |
| bool vl::TextStream::readString | ( | String & | token | ) | [inline] |
| bool vl::TextStream::readStdString | ( | std::string & | token | ) | [inline] |
| bool vl::TextStream::readQuotedString | ( | String & | token | ) | [inline] |
String vl::TextStream::mTmpStr [protected] |
std::string vl::TextStream::mTmpStdStr [protected] |