您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

38 行
927 B

  1. #pragma once
  2. namespace cpphibernate {
  3. namespace mariadb {
  4. /**
  5. * @brief Table for polymorphic data types.
  6. */
  7. struct table_polymorphic_t
  8. : public table_t
  9. {
  10. public:
  11. /**
  12. * @brief Value constructor. Creates a mariadb table from the cpphibernate table.
  13. *
  14. * @param[in] p_owner Owner of the table.
  15. * @param[in] p_schema Cpphibernate schema the table belongs to.
  16. * @param[in] p_table Cpphibernate table to create mariadb table for.
  17. */
  18. template<
  19. typename T_schema,
  20. typename T_table,
  21. typename T_base_dataset,
  22. typename T_derived_datasets>
  23. inline table_polymorphic_t(
  24. const schema_t& p_owner,
  25. const T_schema& p_schema,
  26. const T_table& p_table,
  27. const T_base_dataset&&,
  28. const T_derived_datasets&&);
  29. };
  30. } }