|
C++ mpi module for stochmagnet_main Package
|
This class manages the string manipulation. More...
#include <EXPR_Tokenizer.h>


Public Member Functions | |
| void | setTokens (const tString &tokens) |
| set the tokens | |
| void | returnToPosition (const tInt &pos) |
| rreturn the position of the cursor to pos More... | |
| tInt | getCurrentPosition () |
| get the current position of the token More... | |
| tBoolean | isAtEnd () const |
| test if all the tokens has been reads More... | |
| void | skipWhiteSpace () |
| read all the white characters | |
| tBoolean | readUntil (const tChar &expected) |
| read the tokens utile the char expected is found ]return tre if the expected char has been found | |
| tBoolean | readToken (tString &token) |
| tBoolean | readRealValue (tReal &x) |
| read the next value More... | |
| tBoolean | readArguments (std::vector< tString > &args) |
| read the arguement of the form "[x,y,z,t]" More... | |
| virtual tString | toString () const override |
| return the string representation of the class More... | |
Public Member Functions inherited from EXPR_Object | |
| virtual tMemSize | getMemorySize () const override |
| return the memory size of the class More... | |
| virtual tMemSize | getContentsMemorySize () const override |
| return nthe memory size of the included associations More... | |
Public Member Functions inherited from CORE_Object | |
| template<class T > | |
| std::shared_ptr< T > | getSharedPointer () |
| return the shared pointer for this More... | |
| template<class T > | |
| std::shared_ptr< const T > | getConstSharedPointer () const |
| return a const shared pointer for this More... | |
| template<class T > | |
| tBoolean | isInstanceOf () const |
| test if the clas T is an instance of this class More... | |
| tString | getClassName () const |
| return the name of the class More... | |
| tString | getPointerString () const |
| retrun the pointer of the class as a string More... | |
| tString | getIdentityString () const |
| retrun the string identification of the class More... | |
Static Public Member Functions | |
| static CORE_UniquePointer< EXPR_Tokenizer > | New () |
| crete the new instance of this More... | |
Static Public Member Functions inherited from CORE_Object | |
| static tBoolean | EnableMemoryStack (const tBoolean &isMemoryChecked) |
| enable the memory stack More... | |
| static void | EnableMemoryStack () |
| enable the memory stack | |
| static void | DisableMemoryStack () |
| disable the memory stack | |
| static tBoolean | IsMemoryStackEnabled () |
| return trur if the memory stack is enabled | |
| static tString | MemoryStackToString () |
| get the memory stack in string More... | |
| static tIndex | GetRegisteredClassesNumber () |
| get the memory stack in string More... | |
Protected Member Functions | |
| EXPR_Tokenizer () | |
| create the class | |
| virtual | ~EXPR_Tokenizer () |
| delete the class | |
Protected Member Functions inherited from EXPR_Object | |
| EXPR_Object (void) | |
| create the class | |
| virtual | ~EXPR_Object (void) |
| delete the class | |
Protected Member Functions inherited from CORE_Object | |
| CORE_Object () | |
| build an instance of the object | |
| virtual | ~CORE_Object () |
| destroy the instance of object std | |
This class manages the string manipulation.
| tInt EXPR_Tokenizer::getCurrentPosition | ( | ) |
get the current position of the token
| tBoolean EXPR_Tokenizer::isAtEnd | ( | ) | const |
test if all the tokens has been reads
|
inlinestatic |
crete the new instance of this
| tBoolean EXPR_Tokenizer::readArguments | ( | std::vector< tString > & | args | ) |
read the arguement of the form "[x,y,z,t]"
| args | the arguments return as a vector of strings |
the arguements between coma may be a sequence of
| tBoolean EXPR_Tokenizer::readRealValue | ( | tReal & | x | ) |
read the next value
| x! | the value read |
| void EXPR_Tokenizer::returnToPosition | ( | const tInt & | pos | ) |
rreturn the position of the cursor to pos
| pos | position of the token |
|
overridevirtual |
return the string representation of the class
Reimplemented from CORE_Object.