|
typedef l_Expr::const_iterator | const_iterator_segnales |
|
typedef l_Expr::iterator | iterator_segnales |
|
|
| Expresion (void) |
| Constructor por defecto.
|
|
| Expresion (const Expresion &other) |
| Constructor de copia.
|
|
Expresion & | operator= (const Expresion &other) |
| Operador de asignación.
|
|
Expresion & | operator= (const std::string &str) |
| Operador de asignación.
|
|
bool | Vacia (void) const |
| Devuelve verdadero si la expresión está vacía.
|
|
bool | Size (void) const |
| Devuelve el tamaño de la expresión.
|
|
Expresion::l_Expr::const_iterator | Begin (void) const |
| Devuelve un iterador apuntando al principio de la lista de señales.
|
|
Expresion::l_Expr::const_iterator | End (void) const |
| Devuelve un iterador apuntando al final de la lista de señales.
|
|
void | PonerDouble (const double &) |
| Inserts a literal on the list, this functions exists to avoid calling PonerSegnal and to increment by error, the literal reference counter. More...
|
|
void | PonerSegnal (const Segnal *) |
| Inserta una señal en la lista.
|
|
bool | Inicial (void) |
| Devuelve verdadero si -La expresión está vacía. More...
|
|
| ExprBase (const bool &ET) |
| Constructor por defecto.
|
|
virtual bool | operator== (const ExprBase &) const |
| Comparison operator.
|
|
bool | operator!= (const ExprBase &other) const |
|
bool | ErrorTraduccion (void) const |
| Devuelve verdadero si ha habido errores en la traducción.
|
|
| ProtoExpresion (void) |
| Constructor.
|
|
|
void | borra_lista (void) |
|
void | update_nueva_lista (void) |
|
virtual void | Traduce (std::istream &is)=0 |
| Crea la expresión a partir del istream que se pasa como parámetro.
|
|
void | Traduce (const std::string &str) |
| Crea la expresión a partir de la cadena de caracteres que se pasa como parámetro.
|
|
|
static LexAlgebra & | CreaLexico (void) |
| Devuelve una referencia al léxico.
|
|
static Lexico & | Lex (void) |
| Devuelve una referencia al léxico.
|
|
static LexAlgebra & | LexA (void) |
| Devuelve una referencia al léxico.
|
|
static bool | TieneLexico (void) |
|
static NamedOperand * | NuevaVar (const Variable &v) |
| Creates the variable being passed as parameter.
|
|
static NamedOperand * | NuevaVar (const std::string &palabra) |
| Creates the variable which name is being passed as parameter. More...
|
|
static Variable * | CalcDirVar (const std::string &nmb) |
| Return a pointer to the variable which name is being passed as parameter. More...
|
|
static void | Asigna (const std::string &palabra, const double &d) |
| Assigns to the variable named 'palabra' the value being passed as parameter. More...
|
|
static void | DesAsigna (const std::string &palabra) |
| Removes the assignment to the variable which name is being passed as parameter. More...
|
|
static Segnal * | CalcularDireccion (const std::string &nmb) |
| Return a pointer to the signal which name is being passed as parameter. More...
|
|
bool | err_traduc |
| Verdadero si se produce un error en la traducción.
|
|
static LexAlgebra * | ptr_lex = NULL |
|
◆ Inicial()
bool Expresion::Inicial |
( |
void |
| ) |
|
Devuelve verdadero si -La expresión está vacía.
-El último valor es una de estas dos cosas
- un paréntesis izquierdo.
- un operador.
◆ PonerDouble()
void Expresion::PonerDouble |
( |
const double & |
d | ) |
|
Inserts a literal on the list, this functions exists to avoid calling PonerSegnal and to increment by error, the literal reference counter.
The documentation for this class was generated from the following files:
- src/utility/functions/algebra/Expresion.h
- src/utility/functions/algebra/Expresion.cc