summaryrefslogtreecommitdiff
path: root/odb/relational/inline.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/inline.hxx')
-rw-r--r--odb/relational/inline.hxx53
1 files changed, 53 insertions, 0 deletions
diff --git a/odb/relational/inline.hxx b/odb/relational/inline.hxx
index 1134df6..9abc86f 100644
--- a/odb/relational/inline.hxx
+++ b/odb/relational/inline.hxx
@@ -215,6 +215,20 @@ namespace relational
os << "inline" << endl
<< traits << "::query_type::" << endl
+ << "query_type (bool v)" << endl
+ << " : query_base_type (v)"
+ << "{"
+ << "}";
+
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
+ << "query_type (const char* q)" << endl
+ << " : query_base_type (q)"
+ << "{"
+ << "}";
+
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
<< "query_type (const std::string& q)" << endl
<< " : query_base_type (q)"
<< "{"
@@ -258,6 +272,45 @@ namespace relational
view_extra (c);
+ // query_type
+ //
+ if (c.count ("objects"))
+ {
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
+ << "query_type ()"
+ << "{"
+ << "}";
+
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
+ << "query_type (bool v)" << endl
+ << " : query_base_type (v)"
+ << "{"
+ << "}";
+
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
+ << "query_type (const char* q)" << endl
+ << " : query_base_type (q)"
+ << "{"
+ << "}";
+
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
+ << "query_type (const std::string& q)" << endl
+ << " : query_base_type (q)"
+ << "{"
+ << "}";
+
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
+ << "query_type (const query_base_type& q)" << endl
+ << " : query_base_type (q)"
+ << "{"
+ << "}";
+ }
+
// callback ()
//
os << "inline" << endl