Definition at line 16 of file Variables.h.
Public Member Functions | |
| Variables () | |
| Variables (const char *s) | |
| Construction the list of variables from a string of the form "a b c ...". | |
| std::string & | let (int i, const std::string &s) |
Assign the variable of index i to be s. | |
| std::string | operator[] (int i) |
Return the variable of index i. | |
| std::string | operator[] (int i) const |
Return the variable of index i. | |
| int | operator[] (const std::string &s) |
Return the index of the variable s. | |
| Variables & | operator= (const char *s) |
| Assign a set of variables from a string of the form "a b c ...". | |
Public Attributes | |
| int | _nbvar |
| std::map< std::string, int > | _index_of_var |
| std::map< int, std::string > | _var_of_index |
Static Public Attributes | |
| static Variables | default_ |
| Variables::Variables | ( | const char * | s | ) |
Construction the list of variables from a string of the form "a b c ...".
Definition at line 26 of file Variables.h.
| std::string& Variables::let | ( | int | i, | |
| const std::string & | s | |||
| ) |
Assign the variable of index i to be s.
| std::string Variables::operator[] | ( | int | i | ) |
Return the variable of index i.
| std::string Variables::operator[] | ( | int | i | ) | const |
Return the variable of index i.
| int Variables::operator[] | ( | const std::string & | s | ) |
Return the index of the variable s.
| Variables& Variables::operator= | ( | const char * | s | ) |
Assign a set of variables from a string of the form "a b c ...".
![]() |