uSQL for C++
uSQL::SQLParser Class Reference

#include <SQLParser.h>

Inheritance diagram for uSQL::SQLParser:
uSQL::GQLParser uSQL::SQL92Parser uSQL::UnQLParser

Public Member Functions

 SQLParser ()
 
virtual ~SQLParser ()
 
virtual bool parse (const std::string &queryString)
 
void setStatementType (int type)
 
void addStatement (SQLStatement *stmt)
 
int getStatementCount ()
 
SQLStatementgetStatement (size_t n)
 
SQLStatementgetStatement ()
 
SQLStatementListgetStatements ()
 
SQLErrorgetError ()
 

Private Member Functions

void clear ()
 

Private Attributes

SQLStatementList statements
 
SQLError error
 

Constructor & Destructor Documentation

◆ SQLParser()

uSQL::SQLParser::SQLParser ( )

◆ ~SQLParser()

uSQL::SQLParser::~SQLParser ( )
virtual

Member Function Documentation

◆ addStatement()

void uSQL::SQLParser::addStatement ( SQLStatement stmt)
inline

◆ clear()

void uSQL::SQLParser::clear ( )
private

◆ getError()

SQLError* uSQL::SQLParser::getError ( )
inline

◆ getStatement() [1/2]

SQLStatement* uSQL::SQLParser::getStatement ( size_t  n)
inline

◆ getStatement() [2/2]

SQLStatement* uSQL::SQLParser::getStatement ( )
inline

◆ getStatementCount()

int uSQL::SQLParser::getStatementCount ( )
inline

◆ getStatements()

SQLStatementList* uSQL::SQLParser::getStatements ( )
inline

◆ parse()

bool uSQL::SQLParser::parse ( const std::string &  queryString)
virtual

◆ setStatementType()

void uSQL::SQLParser::setStatementType ( int  type)

Field Documentation

◆ error

SQLError uSQL::SQLParser::error
private

◆ statements

SQLStatementList uSQL::SQLParser::statements
private

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