24 #ifndef SQLITEOBJECT_H 25 #define SQLITEOBJECT_H 27 #include "../kernel/CommandEntity.h" 58 static void NuevaQuery(
const std::string &nmb,
const std::string &nmb_db);
61 static void clearAll(
void);
static map_sql_objs SqLiteObjs
Contenedor de objetos de SqLite.
Definition: SqLiteObject.h:44
static void NuevaQuery(const std::string &nmb, const std::string &nmb_db)
Creates a query with the name being passed as parameter.
Definition: SqLiteObject.cc:124
map_sql_objs::const_iterator sql_objs_const_iterator
Iterador a objetos de base de datos.
Definition: SqLiteObject.h:42
virtual ~SqLiteObject(void)
Destructor.
Definition: SqLiteObject.cc:107
static void borra_objetos(void)
Borra todos los objetos.
Definition: SqLiteObject.cc:64
Clase para consulta SQL.
Definition: SqLiteQuery.h:35
map_sql_objs::iterator sql_objs_iterator
Iterador a objetos de base de datos.
Definition: SqLiteObject.h:41
SqLiteObject(void)
Constructor.
Definition: SqLiteObject.cc:103
std::string preprocesa_str_sql(const std::string &str) const
Preprocesa una text string que contiene una sentencia SQL.
Definition: SqLiteObject.cc:136
Objet that can execute python scripts.
Definition: CommandEntity.h:40
static void borra_databases(void)
Borra las bases de datos.
Definition: SqLiteObject.cc:48
std::map< std::string, SqLiteObject * > map_sql_objs
Contenedor de objetos de base de datos.
Definition: SqLiteObject.h:40
static void borra_queries(void)
Borra las consultas.
Definition: SqLiteObject.cc:33
static void BorraObjeto(const std::string &nmb)
Removes from container the object which name is being passed as parameter.
Definition: SqLiteObject.cc:164
Clase base de los objetos de base de datos.
Definition: SqLiteObject.h:37
Clase para consulta SQL.
Definition: SqLiteDatabase.h:35
static SqLiteObject * find_object(const std::string &nmb)
Return a pointer to the object which name is being passed as parameter.
Definition: SqLiteObject.cc:92
static void NuevaDatabase(const std::string &nmb)
Creates the database with the name being passed as parameter.
Definition: SqLiteObject.cc:114
static void insert_object(const std::string &nmb, SqLiteObject *ptr)
Inerts the object into the container.
Definition: SqLiteObject.cc:76
static SqLiteQuery * getQuery(const std::string &nmb)
Return the query with the name being passed as parameter.
Definition: SqLiteObject.cc:153
static SqLiteDatabase * getDatabase(const std::string &nmb)
Return the database with the name being passed as parameter.
Definition: SqLiteObject.cc:143