Databaseconnectionclasses
0.5.3
|
basic dummy interpreter class that returns a warning message More...
#include <hk_interpreter.h>
Public Member Functions | |
hk_no_interpreter (hk_presentation *p) | |
virtual bool | on_click (hk_visible *) |
virtual bool | on_doubleclick (hk_visible *) |
virtual bool | before_row_change (hk_dsvisible *) |
virtual bool | after_row_change (hk_dsvisible *) |
virtual bool | before_update (hk_dsvisible *) |
virtual bool | after_update (hk_dsvisible *) |
virtual bool | on_close (hk_visible *) |
virtual bool | on_open (hk_visible *) |
virtual bool | before_delete (hk_dsvisible *) |
virtual bool | after_delete (hk_dsvisible *) |
virtual bool | before_insert (hk_dsvisible *) |
virtual bool | after_insert (hk_dsvisible *) |
virtual bool | on_print_data (hk_reportdata *) |
virtual bool | on_print_new_page (hk_report *) |
virtual bool | on_getfocus (hk_visible *) |
virtual bool | on_loosefocus (hk_visible *) |
virtual bool | on_key (hk_visible *) |
virtual bool | on_select (hk_dscombobox *) |
virtual bool | on_select (hk_dsgridcolumn *) |
virtual bool | on_valuechanged (hk_dsdatavisible *) |
virtual bool | load_module (const hk_string &) |
![]() | |
hk_interpreter (hk_presentation *p) | |
virtual void | init () |
void | set_block_execution (bool) |
bool | block_execution (void) const |
bool | scripterror (void) |
hk_string | errormessage (void) |
int | error_rownumber (void) |
virtual hk_string | interpretername (void) const |
![]() | |
void | hkclassname (const hk_string &n) |
hk_string | hkclassname (void) const |
void | hkdebug (const hk_string &d) const |
void | hkdebug (const hk_string &d, const hk_string &e) const |
void | hkdebug (const hk_string &d, int i) const |
void | hkdebug (const hk_string &d, double i) const |
void | wanna_debug (bool d) |
bool | wanna_debug (void) const |
bool | generaldebug (void) |
virtual void | savedata (ostream &s) |
virtual void | loaddata (xmlNodePtr definition) |
Additional Inherited Members | |
![]() | |
enum | enum_action { a_before_row_change, a_after_row_change, a_click, a_doubleclick, a_on_open, a_on_close, a_on_getfocus, a_on_loosefocus, a_on_key, a_before_update, a_after_update, a_before_delete, a_after_delete, a_before_insert, a_after_insert, a_on_print_data, a_on_print_new_page, a_on_select, a_on_valuechanged, a_on_loadmodule } |
![]() | |
enum | enum_interaction { noninteractive, interactive } |
enum | enum_measuresystem { cm, inch } |
enum | enum_tagtype { normaltag, mastertag } |
![]() | |
static void | set_generaldebug (bool d) |
static hk_string | hk_translate (const hk_string &t) |
static void | show_warningmessage (const hk_string &m) |
static void | set_warningmessage (messagewindowtype *m) |
static bool | show_yesnodialog (const hk_string &m, bool default_value) |
static void | set_yesnodialog (yesno_dialogtype *d) |
static hk_string | show_stringvaluedialog (const hk_string &t) |
static void | set_stringvaluedialog (stringvalue_dialogtype *t) |
static void | set_translatefunction (translatefunctiontype *t) |
static void | set_filedialog (file_dialogtype *f) |
static hk_string | show_filedialog (const hk_string &f="", enum_operationmode m=file_open) |
static void | set_directorydialog (stringvalue_dialogtype *f) |
static hk_string | show_directorydialog (const hk_string &f="") |
static void | set_showpedantic (bool s) |
static bool | showpedantic (void) |
static void | set_measuresystem (enum_measuresystem) |
static enum_measuresystem | measuresystem (void) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, hk_string &value, int position=1, enum_tagtype tagtype=normaltag) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, unsigned long &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, unsigned int &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, long &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, int &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr where, const hk_string &tag, bool &value, int position=1) |
static xmlNodePtr | get_tagvalue (xmlNodePtr &where, const hk_string &tag) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, const hk_string &value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, unsigned long value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, unsigned int value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, long value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, int value) |
static void | set_tagvalue (ostream &stream, const hk_string &tag, bool value) |
static void | start_mastertag (ostream &stream, const hk_string &tag) |
static void | end_mastertag (ostream &stream, const hk_string &tag) |
static void | set_defaultdatetimeformat (const hk_string &timeformat, const hk_string &dateformat, const hk_string &datetimeformat) |
static hk_string | defaultdateformat (void) |
static hk_string | defaulttimeformat (void) |
static hk_string | defaultdatetimeformat (void) |
static void | save_preferences (void) |
static bool | runtime_only (void) |
static void | set_locale (const hk_string &locale) |
static hk_string | locale (void) |
static void | set_defaultdriver (const hk_string &d) |
static hk_string | defaultdriver (void) |
static void | set_default_automatic_data_update (bool) |
static bool | default_automatic_data_update (void) |
![]() | |
hk_interpreter * | new_interpreter (const hk_string &interpreter, hk_presentation *) |
![]() | |
hk_presentation * | p_presentation |
bool | p_error_occured |
hk_string | p_errormessage |
int | p_error_rownumber |
![]() | |
static hk_string | p_defaulttimeformat ="h:m:s" |
static hk_string | p_defaultdateformat ="D.M.Y" |
static hk_string | p_defaultdatetimeformat ="D.M.Y h:m:s" |
static bool | p_runtime_only =false |
basic dummy interpreter class that returns a warning message
hk_nointerpreter always returns a warning message
|
virtual |
executes the after_delete action
Implements hk_interpreter.
|
virtual |
executes the after_insert action
Implements hk_interpreter.
|
virtual |
executes the after_row_change action
Implements hk_interpreter.
|
virtual |
executes the after_update action
Implements hk_interpreter.
|
virtual |
executes the before_delete action
Implements hk_interpreter.
|
virtual |
executes the before_insert action
Implements hk_interpreter.
|
virtual |
executes the before_row_change action
Implements hk_interpreter.
|
virtual |
executes the before_update action
Implements hk_interpreter.
|
virtual |
executes the on_click action
Implements hk_interpreter.
|
virtual |
executes the on_close action
Implements hk_interpreter.
|
virtual |
executes the on_doubleclick action
Implements hk_interpreter.
|
virtual |
executes the on_getfocus action
Implements hk_interpreter.
|
virtual |
executes the on_key action
Implements hk_interpreter.
|
virtual |
executes the on_loosefocus action
Implements hk_interpreter.
|
virtual |
executes the on_open action
Implements hk_interpreter.
|
virtual |
executes the on_print_data action
Implements hk_interpreter.
|
virtual |
executes the on_print_new_page action
Implements hk_interpreter.
|
virtual |
executes the on_valuechanged action
Implements hk_interpreter.