- added support for calling member functions (setters/getters) from Models

those functions can be used with databases and flat files
- removed support for calling static function
- if MORM_HAS_EZC_LIBRARY macro is defined then we can call a function
  which has a first argument Ezc::FunInfo<>& object
  (only for generating flat files)
This commit is contained in:
2021-06-01 19:34:34 +02:00
parent 515e806a50
commit dd01fafa40
9 changed files with 444 additions and 108 deletions

View File

@@ -616,6 +616,12 @@ void DbConnector::get_value(const char * value_str, std::string & field_value, c
}
void DbConnector::get_value(const char * value_str, std::string_view & field_value, const FT & field_type)
{
field_value = value_str;
}
void DbConnector::get_value(const char * value_str, bool & field_value, const FT & field_type)
{
// IMPROVE ME