Natural Language Processing  0.1.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
OntologyDatabase Class Reference

The OntologyDatabase class The class acts as the interface that allows communication with database. class will be used by higher process that handles the sqlite query generation from a structure of SyntaxTree. More...

#include <OntologyDatabase.h>

Public Member Functions

 OntologyDatabase ()
 lower function More...
 
void InsertionQuery (const string &qrStr)
 OntologyDatabase::InsertionQuery Given a string that is a valid SQLite form The function will proceed with insertion to database. More...
 
void QuestionQuery (const string &qrStr, string &result)
 QuestionQuery. More...
 
 ~OntologyDatabase ()
 Upper function. More...
 

Detailed Description

The OntologyDatabase class The class acts as the interface that allows communication with database. class will be used by higher process that handles the sqlite query generation from a structure of SyntaxTree.

Constructor & Destructor Documentation

OntologyDatabase::OntologyDatabase ( )

lower function

OntologyDatabase::OntologyDatabase constructor to open connections to database.

OntologyDatabase::~OntologyDatabase ( )

Upper function.

Destructor.

Member Function Documentation

void OntologyDatabase::InsertionQuery ( const string &  qrStr)

OntologyDatabase::InsertionQuery Given a string that is a valid SQLite form The function will proceed with insertion to database.

Parameters
qrStr
void OntologyDatabase::QuestionQuery ( const string &  qrStr,
string &  result 
)

QuestionQuery.

Parameters
qrStr: query commands
result: replyUpper function

TODO : Make result neater

Slice last ", "


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