#include <Parse.h>
Static Public Methods | |
double | parseFirstDouble (char **strMsg) |
int | parseFirstInt (char **strMsg) |
char | gotoFirstSpaceOrClosingBracket (char **strMsg) |
int | gotoFirstOccurenceOf (char c, char **strMsg) |
char | gotoFirstNonSpace (char **strMsg) |
Definition at line 61 of file Parse.h.
|
This method walks through the string starting at the character where strMsg points to and stops when or the end of the string is reached or a non space is reached. strMsg is updated to this new position.
Definition at line 63 of file Parse.cpp. Referenced by SenseHandler::analyzeHearMessage(), SenseHandler::analyzePlayerMessage(), Player::executeStringCommand(), and Formations::readFormations(). |
|
This method walks through the string starting at the character where strMsg points to and stops when the character c is reached. strMsg is changed after this method is called..
Definition at line 92 of file Parse.cpp. Referenced by SenseHandler::analyzeFullStateMessage(), SenseHandler::analyzeHearMessage(), SenseHandler::analyzeSeeGlobalMessage(), Player::executeStringCommand(), WorldModel::getMaxRangeUnknownPlayer(), SoccerTypes::getObjectFromStr(), WorldModel::processLastSeeMessage(), and WorldModel::processLastSenseMessage(). |
|
This method walks through the string starting at the character where strMsg points to and stops when
Definition at line 79 of file Parse.cpp. Referenced by SoccerTypes::getObjectFromStr(). |
|
This method walks through the string starting at the character where strMsg points to and returns the first double that can be read from this string. Any other characters in front of this integer are discarded. After this method is returned, strMsg points to the first character after the final value of the double. 4e-3, and NaN or nan are also recognized. When input contains NaN or nan, -1000.0 is returned.
Definition at line 145 of file Parse.cpp. References parseFirstInt(). Referenced by SenseHandler::analyzeFullStateMessage(), SenseHandler::analyzePlayerTypeMessage(), SenseHandler::analyzeSeeGlobalMessage(), Player::executeStringCommand(), BasicCoach::executeStringCommand(), main(), WorldModel::processLastSeeMessage(), WorldModel::processLastSenseMessage(), and Formations::readFormations(). |
|