#include <variables.hpp>
mmx::variables::variables |
( |
| ) |
|
|
inline |
mmx::variables::variables |
( |
const char * |
s | ) |
|
|
inline |
Construction the list of variables from a string of the form "a b c ...".
std::string & mmx::variables::let |
( |
int |
i, |
|
|
const std::string & |
s |
|
) |
| |
Assign the variable of index i
to be s
.
int mmx::variables::nbvar |
( |
| ) |
const |
|
inline |
variables & mmx::variables::operator= |
( |
const char * |
s | ) |
|
Assign a set of variables from a string of the form "a b c ...".
std::string mmx::variables::operator[] |
( |
int |
i | ) |
|
Return the variable of index i
.
std::string mmx::variables::operator[] |
( |
int |
i | ) |
const |
Return the variable of index i
.
int mmx::variables::operator[] |
( |
const std::string & |
s | ) |
|
Return the index of the variable s
.
int mmx::variables::operator[] |
( |
const std::string & |
s | ) |
const |
Return the index of the variable s
.
int mmx::variables::size |
( |
void |
| ) |
const |
|
inline |
std::map<std::string,int> mmx::variables::_index_of_var |
int mmx::variables::_nbvar |
std::map<int,std::string> mmx::variables::_var_of_index |
The documentation for this struct was generated from the following files: