StringTokenizer#
#include <StringTokenizer.h>
How to reference this class#
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`StringTokenizer <class-stringtokenizer>`
[StringTokenizer](#class-stringtokenizer)
Detailed description#
List of Public Methods#
List of Private Methods#
Complete Member Function Documentation#
check_GRP#
int StringTokenizer::check_GRP()
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int StringTokenizer::check_GRP() <stringtokenizer-public-int-stringtokenizer-check-grp>`
[int StringTokenizer::check_GRP()](#stringtokenizer-public-int-stringtokenizer-check-grp)
getNValue#
double StringTokenizer::getNValue()
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`double StringTokenizer::getNValue() <stringtokenizer-public-double-stringtokenizer-getnvalue>`
[double StringTokenizer::getNValue()](#stringtokenizer-public-double-stringtokenizer-getnvalue)
getSValue#
const std::string & StringTokenizer::getSValue()
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const std::string & StringTokenizer::getSValue() <stringtokenizer-public-const-std-string-ref-stringtokenizer-getsvalue>`
[const std::string & StringTokenizer::getSValue()](#stringtokenizer-public-const-std-string-ref-stringtokenizer-getsvalue)
nextToken#
int StringTokenizer::nextToken()
Detailed description
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int StringTokenizer::nextToken() <stringtokenizer-public-int-stringtokenizer-nexttoken>`
[int StringTokenizer::nextToken()](#stringtokenizer-public-int-stringtokenizer-nexttoken)
StringTokenizer#
StringTokenizer::StringTokenizer()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`StringTokenizer::StringTokenizer() <stringtokenizer-public-stringtokenizer-stringtokenizer>`
[StringTokenizer::StringTokenizer()](#stringtokenizer-public-stringtokenizer-stringtokenizer)
StringTokenizer#
StringTokenizer::StringTokenizer(std::string &)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`StringTokenizer::StringTokenizer(std::string &) <stringtokenizer-public-stringtokenizer-stringtokenizer-std-string-ref>`
[StringTokenizer::StringTokenizer(std::string &)](#stringtokenizer-public-stringtokenizer-stringtokenizer-std-string-ref)
StringTokenizer#
StringTokenizer::StringTokenizer(std::string, std::string)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`StringTokenizer::StringTokenizer(std::string, std::string) <stringtokenizer-public-stringtokenizer-stringtokenizer-std-string-std-string>`
[StringTokenizer::StringTokenizer(std::string, std::string)](#stringtokenizer-public-stringtokenizer-stringtokenizer-std-string-std-string)
~StringTokenizer#
StringTokenizer::~StringTokenizer()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`StringTokenizer::~StringTokenizer() <stringtokenizer-public-stringtokenizer-dtor-stringtokenizer>`
[StringTokenizer::~StringTokenizer()](#stringtokenizer-public-stringtokenizer-dtor-stringtokenizer)
find_sep#
char * StringTokenizer::find_sep(char *ch, int &type_sep, int &type_keyword)
Detailed description
Cherche dans la chaine “ch” la prochaine apparition d’un separateur. Renvoie dans le parametre “type_sep”, le type de separateur ((, ), + , - etc…) Renvoie egalement la longueur de la chaine correspondante au separateur trouve
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`char * StringTokenizer::find_sep(char *ch, int &type_sep, int &type_keyword) <stringtokenizer-private-char-ptr-stringtokenizer-find-sep-char-ptr-ch-int-ref-type-sep-int-ref-type-keyword>`
[char * StringTokenizer::find_sep(char *ch, int &type_sep, int &type_keyword)](#stringtokenizer-private-char-ptr-stringtokenizer-find-sep-char-ptr-ch-int-ref-type-sep-int-ref-type-keyword)
init_keyword_op#
void StringTokenizer::init_keyword_op()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void StringTokenizer::init_keyword_op() <stringtokenizer-private-void-stringtokenizer-init-keyword-op>`
[void StringTokenizer::init_keyword_op()](#stringtokenizer-private-void-stringtokenizer-init-keyword-op)
Attributes Documentation#
const int StringTokenizer::ADD = 0
const int StringTokenizer::AND = 12
const int StringTokenizer::DIVIDE = 3
const int StringTokenizer::ENDGRP = 1001
const int StringTokenizer::EOS = - 1
const int StringTokenizer::EQ = 14
const int StringTokenizer::GE = 8
const int StringTokenizer::GRP = 1000
const int StringTokenizer::GT = 6
const int StringTokenizer::LE = 7
const int StringTokenizer::LT = 5
const int StringTokenizer::MAX = 10
const int StringTokenizer::MIN = 11
const int StringTokenizer::MOD = 9
const int StringTokenizer::MULTIPLY = 2
const int StringTokenizer::NEQ = 15
const int StringTokenizer::NUMBER = - 2
const int StringTokenizer::OR = 13
const int StringTokenizer::POWER = 4
const int StringTokenizer::STRING = - 3
const int StringTokenizer::SUBTRACT = 1
const char StringTokenizer::keyword_op = { "ADD", "SUB", "MUL", "DIV" , "POW", "
const char StringTokenizer::keyword_op_bis = { " + ", " - ", "*", "/", "^", "<", ">", "[", "]", "%", "$" }
const int StringTokenizer::nb_op = 16
const int StringTokenizer::nb_op_bis = 11
int StringTokenizer::type
double StringTokenizer::nval
char** StringTokenizer::op_sep
char* StringTokenizer::reste
std::string StringTokenizer::str
std::string StringTokenizer::sval