StringTokenizer#

#include <StringTokenizer.h>
Brief description

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#

Definition
int StringTokenizer::check_GRP()
Brief description
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#

Definition
double StringTokenizer::getNValue()
Brief description
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#

Definition
const std::string & StringTokenizer::getSValue()
Brief description
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#

Definition
int StringTokenizer::nextToken()
Brief description
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#

Definition
StringTokenizer::StringTokenizer()
Brief description
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#

Definition
StringTokenizer::StringTokenizer(std::string &)
Brief description
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#

Definition
StringTokenizer::StringTokenizer(std::string, std::string)
Brief description
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#

Definition
StringTokenizer::~StringTokenizer()
Brief description
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#

Definition
char * StringTokenizer::find_sep(char *ch, int &type_sep, int &type_keyword)
Brief description
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#

Definition
void StringTokenizer::init_keyword_op()
Brief description
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#

ADD (public)
const int StringTokenizer::ADD = 0
AND (public)
const int StringTokenizer::AND = 12
DIVIDE (public)
const int StringTokenizer::DIVIDE = 3
ENDGRP (public)
const int StringTokenizer::ENDGRP = 1001
EOS (public)
const int StringTokenizer::EOS = - 1
EQ (public)
const int StringTokenizer::EQ = 14
GE (public)
const int StringTokenizer::GE = 8
GRP (public)
const int StringTokenizer::GRP = 1000
GT (public)
const int StringTokenizer::GT = 6
LE (public)
const int StringTokenizer::LE = 7
LT (public)
const int StringTokenizer::LT = 5
MAX (public)
const int StringTokenizer::MAX = 10
MIN (public)
const int StringTokenizer::MIN = 11
MOD (public)
const int StringTokenizer::MOD = 9
MULTIPLY (public)
const int StringTokenizer::MULTIPLY = 2
NEQ (public)
const int StringTokenizer::NEQ = 15
NUMBER (public)
const int StringTokenizer::NUMBER = - 2
OR (public)
const int StringTokenizer::OR = 13
POWER (public)
const int StringTokenizer::POWER = 4
STRING (public)
const int StringTokenizer::STRING = - 3
SUBTRACT (public)
const int StringTokenizer::SUBTRACT = 1
keyword_op (private)
const char StringTokenizer::keyword_op = { "ADD", "SUB", "MUL", "DIV" , "POW", "
keyword_op_bis (private)
const char StringTokenizer::keyword_op_bis = { " + ", " - ", "*", "/", "^", "<", ">", "[", "]", "%", "$" }
nb_op (private)
const int StringTokenizer::nb_op = 16
nb_op_bis (private)
const int StringTokenizer::nb_op_bis = 11
type (public)
int StringTokenizer::type
nval (private)
double StringTokenizer::nval
op_sep (private)
char** StringTokenizer::op_sep
reste (private)
char* StringTokenizer::reste
str (private)
std::string StringTokenizer::str
sval (private)
std::string StringTokenizer::sval