Hormiga 1.0

CoreInterface Class Reference

#include <coreinterface.h>

Collaboration diagram for CoreInterface:

List of all members.

Public Slots

void notifyStepCreated (Step *newStep)
void notifyMessage (int severity, T_STRING msg)
void yyerror (int severity, yyscan_t scanner, T_STRING msg)
void loadFile (T_STRING &fullFileName)
void clear ()

Signals

void stepCreated (Step *newStep)
void coreMessage (QString msg, int severity)

Public Member Functions

T_STRING getLicense ()
T_STRING getURL ()
T_STRING getVersion ()
SymbolTablebeginEnviroment ()
SymbolTablegetCurrentEnviroment ()
SymbolTableendCurrentEnviroment ()
CoreFunctionsBuildergetCoreFunctions ()
bool markFile (T_STRING &fullFileName)
QStringList getModulesDirs ()
T_HASH_CALC * getHashCalculator ()
 CoreInterface ()
 ~CoreInterface ()

Public Attributes

StepactualProcesingStep

Protected Attributes

SymbolTablest
T_ST_LIST stList
CoreFunctionsBuildercoreFunctions
QStringList markedFiles
T_STRING loadedProgramFile
QSettings * settings
T_HASH_CALC * hashCalc

Detailed Description

Definition at line 70 of file coreinterface.h.


Constructor & Destructor Documentation

CoreInterface::CoreInterface ( )

Definition at line 57 of file coreinterface.cpp.

Here is the call graph for this function:

CoreInterface::~CoreInterface ( )

Definition at line 80 of file coreinterface.cpp.


Member Function Documentation

SymbolTable * CoreInterface::beginEnviroment ( )

Crea una nueva Tabla de simbolos (hija de la actual) y la retorna. Es usada para obtener un nuevo ambito de variables.

Definition at line 89 of file coreinterface.cpp.

Here is the caller graph for this function:

void CoreInterface::clear ( ) [slot]

Definition at line 165 of file coreinterface.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoreInterface::coreMessage ( QString  msg,
int  severity 
) [signal]

Here is the caller graph for this function:

SymbolTable * CoreInterface::endCurrentEnviroment ( )

Finaliza el ambito actual y retorna al ambito anterior (Tabla de simbolos padre). Retorna la SymbolTable del "nuevo" ambito.

Definition at line 101 of file coreinterface.cpp.

Here is the call graph for this function:

CoreFunctionsBuilder* CoreInterface::getCoreFunctions ( ) [inline]

Retorna el objeto encargado de mantener las funciones del core

Definition at line 103 of file coreinterface.h.

SymbolTable * CoreInterface::getCurrentEnviroment ( )

Retorna la tabla de simbolos correspondiente al ambito actual

Definition at line 96 of file coreinterface.cpp.

Here is the caller graph for this function:

T_HASH_CALC * CoreInterface::getHashCalculator ( )

Retorna el objeto encargado de calcular el hash de identificacion de programa, el cual se calcula haciendo un MD5 sobre TODOS los tokens.

Definition at line 128 of file coreinterface.cpp.

T_STRING CoreInterface::getLicense ( ) [inline]

Returns the License information

Definition at line 76 of file coreinterface.h.

Here is the caller graph for this function:

QStringList CoreInterface::getModulesDirs ( )

Retorna los directorios en los que se deben buscar los modulos

Definition at line 116 of file coreinterface.cpp.

T_STRING CoreInterface::getURL ( ) [inline]

Return the Program Site URL

Definition at line 80 of file coreinterface.h.

Here is the caller graph for this function:

T_STRING CoreInterface::getVersion ( ) [inline]

Return the Program Version

Definition at line 84 of file coreinterface.h.

Here is the caller graph for this function:

void CoreInterface::loadFile ( T_STRING &  fullFileName) [slot]

Definition at line 135 of file coreinterface.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CoreInterface::markFile ( T_STRING &  fullFileName)

Registra archivos que seran cargados. Si el archivo a resgitrar ya "existe" en el regsitro, retorna "FALSE"; de otra forma retorna "TRUE"

Definition at line 108 of file coreinterface.cpp.

Here is the caller graph for this function:

void CoreInterface::notifyMessage ( int  severity,
T_STRING  msg 
) [slot]

Severity: 0: "Message" ; 1: "Warn" ; 2: "Error"

Definition at line 189 of file coreinterface.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoreInterface::notifyStepCreated ( Step newStep) [slot]

Definition at line 182 of file coreinterface.cpp.

Here is the call graph for this function:

void CoreInterface::stepCreated ( Step newStep) [signal]

Here is the caller graph for this function:

void CoreInterface::yyerror ( int  severity,
yyscan_t  scanner,
T_STRING  msg 
) [slot]

Definition at line 196 of file coreinterface.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 143 of file coreinterface.h.

T_HASH_CALC* CoreInterface::hashCalc [protected]

Definition at line 157 of file coreinterface.h.

T_STRING CoreInterface::loadedProgramFile [protected]

Full name of primary file loaded

Definition at line 151 of file coreinterface.h.

QStringList CoreInterface::markedFiles [protected]

Definition at line 148 of file coreinterface.h.

QSettings* CoreInterface::settings [protected]

Definition at line 154 of file coreinterface.h.

Definition at line 141 of file coreinterface.h.

T_ST_LIST CoreInterface::stList [protected]

Definition at line 142 of file coreinterface.h.


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