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

tabla Class Reference

#include <tabla.h>

Collaboration diagram for tabla:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 tabla (char *nom)
 ~tabla ()
bool agregar (objeto *aux)
bool buscar (objeto *aux)
objetobuscar (char *aux)
void listar ()

Public Attributes

char * nombre
objetocampos
digitalindice
tablanext

Detailed Description

Definition at line 11 of file tabla.h.


Constructor & Destructor Documentation

tabla::tabla char *  nom  ) 
 

Definition at line 12 of file tabla.cpp.

References _strdup(), _strlwr(), campos, indice, next, and nombre.

Here is the call graph for this function:

tabla::~tabla  ) 
 

Definition at line 25 of file tabla.cpp.

References campos, indice, objeto::next, and nombre.


Member Function Documentation

bool tabla::agregar objeto aux  ) 
 

Definition at line 41 of file tabla.cpp.

References buscar(), campos, objeto::clave, objeto::decimal, objeto::longitud, objeto::next, objeto::nombre, and objeto::tipo.

Referenced by compilador::abrirtabla(), compilador::an_ALTERTABLE(), compilador::an_CREATETABLE(), compilador::an_DELETE(), compilador::an_SELECT(), and compilador::an_UPDATE().

Here is the call graph for this function:

objeto * tabla::buscar char *  aux  ) 
 

Definition at line 83 of file tabla.cpp.

References campos, objeto::next, and objeto::nombre.

bool tabla::buscar objeto aux  ) 
 

Definition at line 71 of file tabla.cpp.

References campos, and objeto::next.

Referenced by agregar(), compilador::an_ALTERTABLE(), compilador::an_INSERT(), compilador::an_SELECT(), compilador::an_UPDATE(), compilador::analiza_expresion(), ejecutor::modificar(), and ejecutor::seleccionar().

void tabla::listar  ) 
 

Definition at line 96 of file tabla.cpp.

References campos, and objeto::next.


Member Data Documentation

objeto* tabla::campos
 

Definition at line 16 of file tabla.h.

Referenced by agregar(), compilador::an_DELETE(), compilador::an_SELECT(), compilador::an_UPDATE(), buscar(), ejecutor::cargar(), ejecutor::crear(), ejecutor::eliminar(), ejecutor::fpack(), listar(), tabla(), ejecutor::tamreg(), and ~tabla().

digital* tabla::indice
 

Definition at line 17 of file tabla.h.

Referenced by ejecutor::cargar(), ejecutor::eliminar(), ejecutor::fpack(), ejecutor::seleccionar(), tabla(), and ~tabla().

tabla* tabla::next
 

Definition at line 18 of file tabla.h.

Referenced by database::agregar(), database::borrar(), database::borrartodo(), database::buscar(), tabla(), and database::~database().

char* tabla::nombre
 

Definition at line 15 of file tabla.h.

Referenced by compilador::abrirtabla(), database::borrar(), database::buscar(), ejecutor::cargar(), ejecutor::crear(), ejecutor::eliminar(), ejecutor::fpack(), ejecutor::modificar(), ejecutor::seleccionar(), tabla(), ejecutor::tamreg(), and ~tabla().


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