LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dbahsql::AlterStmtParser Class Referenceabstract

#include <alterparser.hxx>

Inheritance diagram for dbahsql::AlterStmtParser:
[legend]

Public Member Functions

virtual ~AlterStmtParser ()=default
 
OUString const & getTableName () const
 
void parse (const OUString &sSql)
 
virtual OUString compose () const =0
 

Protected Member Functions

AlterAction getActionType () const
 
OUString const & getColumnName () const
 
sal_Int32 getIdentityParam () const
 
OUString const & getStatement () const
 

Private Attributes

OUString m_sStmt
 
OUString m_sTableName
 
OUString m_sColumnName
 
AlterAction m_eAction = AlterAction::UNKNOWN
 
sal_Int32 m_nIdentityParam = 0
 

Detailed Description

Definition at line 23 of file alterparser.hxx.

Constructor & Destructor Documentation

◆ ~AlterStmtParser()

virtual dbahsql::AlterStmtParser::~AlterStmtParser ( )
virtualdefault

Member Function Documentation

◆ compose()

virtual OUString dbahsql::AlterStmtParser::compose ( ) const
pure virtual

Implemented in dbahsql::FbAlterStmtParser.

◆ getActionType()

AlterAction dbahsql::AlterStmtParser::getActionType ( ) const
inlineprotected

Definition at line 33 of file alterparser.hxx.

References m_eAction.

Referenced by dbahsql::FbAlterStmtParser::compose().

◆ getColumnName()

OUString const & dbahsql::AlterStmtParser::getColumnName ( ) const
inlineprotected

Definition at line 34 of file alterparser.hxx.

References m_sColumnName.

Referenced by dbahsql::FbAlterStmtParser::compose().

◆ getIdentityParam()

sal_Int32 dbahsql::AlterStmtParser::getIdentityParam ( ) const
inlineprotected

Definition at line 35 of file alterparser.hxx.

References m_nIdentityParam.

Referenced by dbahsql::FbAlterStmtParser::compose().

◆ getStatement()

OUString const & dbahsql::AlterStmtParser::getStatement ( ) const
inlineprotected

Definition at line 36 of file alterparser.hxx.

References m_sStmt.

Referenced by dbahsql::FbAlterStmtParser::compose().

◆ getTableName()

OUString const & dbahsql::AlterStmtParser::getTableName ( ) const
inline
Returns
name of the table which is to be created.

Definition at line 44 of file alterparser.hxx.

References m_sTableName.

Referenced by dbahsql::FbAlterStmtParser::compose().

◆ parse()

void dbahsql::AlterStmtParser::parse ( const OUString &  sSql)

Member Data Documentation

◆ m_eAction

AlterAction dbahsql::AlterStmtParser::m_eAction = AlterAction::UNKNOWN
private

Definition at line 29 of file alterparser.hxx.

Referenced by getActionType(), and parse().

◆ m_nIdentityParam

sal_Int32 dbahsql::AlterStmtParser::m_nIdentityParam = 0
private

Definition at line 30 of file alterparser.hxx.

Referenced by getIdentityParam(), and parse().

◆ m_sColumnName

OUString dbahsql::AlterStmtParser::m_sColumnName
private

Definition at line 28 of file alterparser.hxx.

Referenced by getColumnName(), and parse().

◆ m_sStmt

OUString dbahsql::AlterStmtParser::m_sStmt
private

Definition at line 26 of file alterparser.hxx.

Referenced by getStatement(), and parse().

◆ m_sTableName

OUString dbahsql::AlterStmtParser::m_sTableName
private

Definition at line 27 of file alterparser.hxx.

Referenced by getTableName(), and parse().


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