xc
Public Member Functions | Protected Types | Protected Member Functions | List of all members
ExprPostfija Class Reference
Inheritance diagram for ExprPostfija:
Inheritance graph
[legend]
Collaboration diagram for ExprPostfija:
Collaboration graph
[legend]

Public Member Functions

 ExprPostfija (const std::string &str)
 
 ExprPostfija (const ExprPostfija &other)
 
ExprPostfijaoperator= (const ExprPostfija &other)
 
 ExprPostfija (const ExprInfija &other)
 
ExprPostfijaoperator= (const ExprInfija &other)
 
ExprPostfijaoperator= (const std::string &str)
 
- Public Member Functions inherited from Expresion
 Expresion (void)
 Constructor por defecto.
 
 Expresion (const Expresion &other)
 Constructor de copia.
 
Expresionoperator= (const Expresion &other)
 Operador de asignación.
 
Expresionoperator= (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...
 
- Public Member Functions inherited from ExprBase
 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.
 
- Public Member Functions inherited from ProtoExpresion
 ProtoExpresion (void)
 Constructor.
 

Protected Types

typedef PilaPunteros< const SegnalPila
 

Protected Member Functions

void TrataParentDcho (Pila &pila, const Segnal *t)
 
void TrataOpBinario (Pila &pila, const Segnal *t)
 
void TrataFinExpr (Pila &pila)
 
void Traduce (const ExprInfija &infija)
 
void Traduce (std::istream &is)
 Traduce la expresión que se lee desde el istream.
 
- Protected Member Functions inherited from Expresion
void borra_lista (void)
 
void update_nueva_lista (void)
 
void Traduce (const std::string &str)
 Crea la expresión a partir de la cadena de caracteres que se pasa como parámetro.
 

Additional Inherited Members

- Public Types inherited from Expresion
typedef l_Expr::const_iterator const_iterator_segnales
 
typedef l_Expr::iterator iterator_segnales
 
- Static Public Member Functions inherited from ProtoExpresion
static LexAlgebraCreaLexico (void)
 Devuelve una referencia al léxico.
 
static LexicoLex (void)
 Devuelve una referencia al léxico.
 
static LexAlgebraLexA (void)
 Devuelve una referencia al léxico.
 
static bool TieneLexico (void)
 
static NamedOperandNuevaVar (const Variable &v)
 Creates the variable being passed as parameter.
 
static NamedOperandNuevaVar (const std::string &palabra)
 Creates the variable which name is being passed as parameter. More...
 
static VariableCalcDirVar (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 Protected Member Functions inherited from ProtoExpresion
static SegnalCalcularDireccion (const std::string &nmb)
 Return a pointer to the signal which name is being passed as parameter. More...
 
- Protected Attributes inherited from ExprBase
bool err_traduc
 Verdadero si se produce un error en la traducción.
 
- Static Protected Attributes inherited from ProtoExpresion
static LexAlgebraptr_lex = NULL
 

The documentation for this class was generated from the following files: