#include <SimpleScanner.h>
|
typedef std::ifstream::pos_type | pos_type |
|
◆ pos_type
◆ SimpleScanner()
cnoid::SimpleScanner::SimpleScanner |
( |
| ) |
|
|
inline |
◆ checkChar()
bool cnoid::SimpleScanner::checkChar |
( |
int |
chara | ) |
|
|
inline |
◆ checkCharAtCurrentPosition()
bool cnoid::SimpleScanner::checkCharAtCurrentPosition |
( |
int |
chara | ) |
|
|
inline |
◆ checkEOF()
bool cnoid::SimpleScanner::checkEOF |
( |
| ) |
|
|
inline |
◆ checkLF()
bool cnoid::SimpleScanner::checkLF |
( |
| ) |
|
|
inline |
◆ checkLFEx()
void cnoid::SimpleScanner::checkLFEx |
( |
| ) |
|
|
inline |
◆ checkString()
bool cnoid::SimpleScanner::checkString |
( |
const char * |
str | ) |
|
|
inline |
◆ checkStringAtCurrentPosition()
bool cnoid::SimpleScanner::checkStringAtCurrentPosition |
( |
const char * |
str | ) |
|
|
inline |
◆ checkStringEx()
void cnoid::SimpleScanner::checkStringEx |
( |
const char * |
str | ) |
|
|
inline |
◆ clear()
void cnoid::SimpleScanner::clear |
( |
bool |
doRelease = true | ) |
|
|
inline |
◆ close()
void cnoid::SimpleScanner::close |
( |
| ) |
|
|
inline |
◆ currentLine()
const std::string& cnoid::SimpleScanner::currentLine |
( |
| ) |
|
|
inline |
◆ getLine()
bool cnoid::SimpleScanner::getLine |
( |
| ) |
|
|
inline |
◆ moveForward()
void cnoid::SimpleScanner::moveForward |
( |
| ) |
|
|
inline |
◆ open()
bool cnoid::SimpleScanner::open |
( |
const std::string & |
filename | ) |
|
|
inline |
◆ peekChar()
int cnoid::SimpleScanner::peekChar |
( |
| ) |
|
|
inline |
◆ readChar()
int cnoid::SimpleScanner::readChar |
( |
| ) |
|
|
inline |
◆ readFloatEx()
float cnoid::SimpleScanner::readFloatEx |
( |
| ) |
|
|
inline |
◆ readInt()
bool cnoid::SimpleScanner::readInt |
( |
int & |
out_value | ) |
|
|
inline |
◆ readIntEx()
int cnoid::SimpleScanner::readIntEx |
( |
| ) |
|
|
inline |
◆ readString()
bool cnoid::SimpleScanner::readString |
( |
std::string & |
out_string | ) |
|
|
inline |
◆ readStringAtCurrentPosition()
bool cnoid::SimpleScanner::readStringAtCurrentPosition |
( |
std::string & |
out_string | ) |
|
|
inline |
◆ readStringToEOL()
bool cnoid::SimpleScanner::readStringToEOL |
( |
std::string & |
out_string | ) |
|
|
inline |
◆ seekToString()
bool cnoid::SimpleScanner::seekToString |
( |
pos_type |
initialSeekPos, |
|
|
const char * |
str, |
|
|
size_t |
maxLength, |
|
|
pos_type & |
out_seekPos |
|
) |
| |
|
inline |
◆ skipSpaces()
void cnoid::SimpleScanner::skipSpaces |
( |
| ) |
|
|
inline |
◆ skipSpacesAndTabs()
void cnoid::SimpleScanner::skipSpacesAndTabs |
( |
| ) |
|
|
inline |
◆ throwEx()
void cnoid::SimpleScanner::throwEx |
( |
const std::string & |
error | ) |
|
|
inline |
◆ buf
char* cnoid::SimpleScanner::buf |
◆ buf1
char cnoid::SimpleScanner::buf1[buf1size] |
◆ buf1size
constexpr size_t cnoid::SimpleScanner::buf1size = 256 |
|
staticconstexpr |
◆ buf2
std::vector<char> cnoid::SimpleScanner::buf2 |
◆ bufEndPos
const char* cnoid::SimpleScanner::bufEndPos |
◆ bufsize
size_t cnoid::SimpleScanner::bufsize |
◆ dummy
const char* cnoid::SimpleScanner::dummy |
◆ filename
std::string cnoid::SimpleScanner::filename |
◆ ifs
std::ifstream cnoid::SimpleScanner::ifs |
◆ lineNumber
size_t cnoid::SimpleScanner::lineNumber |
◆ pos
const char* cnoid::SimpleScanner::pos |
◆ tmpString
std::string cnoid::SimpleScanner::tmpString |
The documentation for this class was generated from the following file: