LibreOffice Module connectivity (master) 1
|
#include <IParseContext.hxx>
Public Types | |
enum class | ErrorCode { General , ValueNoLike , FieldNoLike , InvalidCompare , InvalidIntCompare , InvalidDateCompare , InvalidRealCompare , InvalidTableNosuch , InvalidTableOrQuery , InvalidColumn , InvalidTableExist , InvalidQueryExist } |
enum class | InternationalKeyCode { None = 0 , Like , Not , Null , True , False , Is , Between , Or , And , Avg , Count , Max , Min , Sum , Every , Any , Some , StdDevPop , StdDevSamp , VarSamp , VarPop , Collect , Fusion , Intersection } |
Public Member Functions | |
virtual OUString | getErrorMessage (ErrorCode _eCodes) const =0 |
virtual OString | getIntlKeywordAscii (InternationalKeyCode _eKey) const =0 |
virtual InternationalKeyCode | getIntlKeyCode (const OString &rToken) const =0 |
virtual css::lang::Locale | getPreferredLocale () const =0 |
gets a locale instance which should be used when parsing in the context specified by this instance More... | |
Protected Member Functions | |
~IParseContext () | |
Definition at line 30 of file IParseContext.hxx.
|
strong |
Definition at line 33 of file IParseContext.hxx.
|
strong |
Enumerator | |
---|---|
None | |
Like | |
Not | |
Null | |
True | |
False | |
Is | |
Between | |
Or | |
And | |
Avg | |
Count | |
Max | |
Min | |
Sum | |
Every | |
Any | |
Some | |
StdDevPop | |
StdDevSamp | |
VarSamp | |
VarPop | |
Collect | |
Fusion | |
Intersection |
Definition at line 50 of file IParseContext.hxx.
|
inlineprotected |
Definition at line 95 of file IParseContext.hxx.
|
pure virtual |
Implemented in connectivity::OParseContext.
Referenced by connectivity::OSQLParser::buildDate(), connectivity::OSQLParser::convertNode(), and connectivity::OSQLParser::predicateTree().
|
pure virtual |
Implemented in connectivity::OParseContext.
Referenced by connectivity::OSQLScanner::getInternationalTokenID().
|
pure virtual |
Implemented in connectivity::OParseContext.
|
pure virtual |
gets a locale instance which should be used when parsing in the context specified by this instance
if this is not overridden by derived classes, it returns the static default locale.
Implemented in connectivity::OParseContext.
Referenced by dbtools::OPredicateInputController::implPredicateTree(), dbtools::OPredicateInputController::normalizePredicateString(), connectivity::OSQLParser::OSQLParser(), and connectivity::OSQLParser::predicateTree().