Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

ejecutor Class Reference

#include <ejecutor.h>

List of all members.

Public Member Functions

 ~ejecutor ()
void ejecutar (lcomandos *lista)

Public Attributes

char * mensaje

Private Member Functions

void crear (tabla *taux)
void borrar (char *naux)
void cargar (tabla *taux, listaselect *li)
void seleccionar (tabla *taux, listaselect *li, lelegidos *ele)
void eliminar (tabla *taux, lelegidos *ele)
void modificar (tabla *taux, listaselect *li, lelegidos *ele)
void fpack (tabla *taux)
void visualizar (listaselect *li, tabla *taux, lelegidos *ele)
void tamreg (tabla *taux, long &cantcampos, long &size)
void error (int, int pieza1=0, int pieza2=0, char *nombre1=NULL, char *nombre2=NULL)

Private Attributes

int linea


Detailed Description

Definition at line 12 of file ejecutor.h.


Constructor & Destructor Documentation

ejecutor::~ejecutor  ) 
 

Definition at line 14 of file ejecutor.cpp.

References mensaje.


Member Function Documentation

void ejecutor::borrar char *  naux  )  [private]
 

Definition at line 168 of file ejecutor.cpp.

References mensaje.

Referenced by ejecutar(), and seleccionar().

void ejecutor::cargar tabla taux,
listaselect li
[private]
 

Definition at line 193 of file ejecutor.cpp.

References digital::buscar(), tabla::campos, objeto::clave, objeto::decimal, error(), listaselect::find(), fsize(), tabla::indice, digital::insertar(), objeto::longitud, mensaje, objeto::next, objeto::nombre, tabla::nombre, p_char, p_date, p_float, p_int, p_logical, partedecimal(), partentera(), objeto::tipo, and nodoselect::valor.

Referenced by ejecutar().

Here is the call graph for this function:

void ejecutor::crear tabla taux  )  [private]
 

Definition at line 111 of file ejecutor.cpp.

References tabla::campos, objeto::clave, objeto::decimal, metadato::decimales, metadato::enteros, error(), metadato::esclave, itoa(), linea, objeto::longitud, mensaje, objeto::next, objeto::nombre, metadato::nombre, tabla::nombre, objeto::tipo, and metadato::tipo.

Referenced by ejecutar().

Here is the call graph for this function:

void ejecutor::ejecutar lcomandos lista  ) 
 

Definition at line 20 of file ejecutor.cpp.

References borrar(), c_borrar, c_cargar, c_crear, c_eliminar, c_fpack, c_modificar, c_seleccionar, c_visualizar, cargar(), ncomando::comando, crear(), ncomando::ele, eliminar(), fpack(), lcomandos::inicio, ncomando::li, ncomando::linea, linea, modificar(), ncomando::naux, ncomando::next, seleccionar(), ncomando::taux, and visualizar().

Referenced by main(), and procesarQuery().

Here is the call graph for this function:

void ejecutor::eliminar tabla taux,
lelegidos ele
[private]
 

Definition at line 653 of file ejecutor.cpp.

References digital::borrar(), tabla::campos, objeto::clave, nelegidos::direccion, tabla::indice, itoa(), mensaje, nelegidos::next, objeto::next, lelegidos::nodos, tabla::nombre, objeto::posicion, objeto::tamano, and tamreg().

Referenced by ejecutar().

Here is the call graph for this function:

void ejecutor::error int  ,
int  pieza1 = 0,
int  pieza2 = 0,
char *  nombre1 = NULL,
char *  nombre2 = NULL
[private]
 

Definition at line 66 of file ejecutor.cpp.

References itoa(), linea, and mensaje.

Referenced by cargar(), crear(), modificar(), and tamreg().

Here is the call graph for this function:

void ejecutor::fpack tabla taux  )  [private]
 

Definition at line 857 of file ejecutor.cpp.

References tabla::campos, objeto::clave, digital::crear(), errno, tabla::indice, digital::insertar(), mensaje, objeto::next, tabla::nombre, objeto::posicion, objeto::tamano, and tamreg().

Referenced by ejecutar().

Here is the call graph for this function:

void ejecutor::modificar tabla taux,
listaselect li,
lelegidos ele
[private]
 

Definition at line 703 of file ejecutor.cpp.

References tabla::buscar(), objeto::clave, objeto::decimal, nelegidos::direccion, error(), itoa(), objeto::longitud, mensaje, nelegidos::next, nodoselect::next, lelegidos::nodos, listaselect::nodos, nodoselect::nombre, tabla::nombre, p_char, p_date, p_float, p_int, p_logical, partedecimal(), partentera(), objeto::posicion, tamreg(), objeto::tipo, and nodoselect::valor.

Referenced by ejecutar().

Here is the call graph for this function:

void ejecutor::seleccionar tabla taux,
listaselect li,
lelegidos ele
[private]
 

Definition at line 399 of file ejecutor.cpp.

References lelegidos::agregar(), lelegidos::borrar(), borrar(), listaselect::borrar(), digital::buscar(), tabla::buscar(), objeto::clave, objeto::decimal, nelegidos::direccion, tabla::indice, objeto::longitud, nelegidos::next, nodoselect::next, lelegidos::nodos, listaselect::nodos, nodoselect::nombre, tabla::nombre, p_char, p_date, p_float, p_int, p_logical, objeto::posicion, objeto::tamano, tamreg(), objeto::tipo, and nodoselect::valor.

Referenced by ejecutar().

Here is the call graph for this function:

void ejecutor::tamreg tabla taux,
long &  cantcampos,
long &  size
[private]
 

Definition at line 608 of file ejecutor.cpp.

References tabla::campos, objeto::decimal, error(), fsize(), objeto::longitud, mensaje, objeto::next, tabla::nombre, p_char, p_date, p_float, p_int, p_logical, objeto::posicion, objeto::tamano, and objeto::tipo.

Referenced by eliminar(), fpack(), modificar(), and seleccionar().

Here is the call graph for this function:

void ejecutor::visualizar listaselect li,
tabla taux,
lelegidos ele
[private]
 

Definition at line 959 of file ejecutor.cpp.

Referenced by ejecutar().


Member Data Documentation

int ejecutor::linea [private]
 

Definition at line 17 of file ejecutor.h.

Referenced by crear(), ejecutar(), and error().

char* ejecutor::mensaje
 

Definition at line 34 of file ejecutor.h.

Referenced by borrar(), cargar(), crear(), eliminar(), error(), fpack(), modificar(), procesarQuery(), tamreg(), and ~ejecutor().


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 15:51:24 2005 for TecnoDB by  doxygen 1.4.4