class IParseContext
{ public: enumclass ErrorCode
{
General, // "Syntax error in SQL expression"
ValueNoLike, // "The value #1 can not be used with LIKE."
FieldNoLike, // "LIKE can not be used with this field."
InvalidCompare, // "The entered criterion can not be compared with this field."
InvalidIntCompare, // "The field can not be compared with a number."
InvalidDateCompare, // "The field can not be compared with a date."
InvalidRealCompare, // "The field can not be compared with a floating point number."
InvalidTableNosuch, // "The database does not contain a table named \"#\"." // Named like this to avoid conflict with a #define in the Windows system ODBC headers.
InvalidTableOrQuery, // "The database does contain neither a table nor a query named \"#\"."
InvalidColumn, // "The column \"#1\" is unknown in the table \"#2\"."
InvalidTableExist, // "The database already contains a table or view with name \"#\"."
InvalidQueryExist // "The database already contains a query with name \"#\".";
};
public: // retrieves language specific error messages virtual OUString getErrorMessage(ErrorCode _eCodes) const = 0;
// retrieves language specific keyword strings (only ASCII allowed) virtual OString getIntlKeywordAscii(InternationalKeyCode _eKey) const = 0;
// finds out, if we have an international keyword (only ASCII allowed) virtual InternationalKeyCode getIntlKeyCode(const OString& rToken) const = 0;
/** gets a locale instance which should be used when parsing in the context specified by this instance <p>ifthisisnotoverriddenbyderivedclasses,itreturnsthestaticdefaultlocale.</p>
*/ virtual css::lang::Locale getPreferredLocale( ) const = 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.