aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/inline.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-16 13:45:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-16 13:45:31 +0200
commit2a2a9d9efb9209d3b251b62bf347df1dbb8dfae5 (patch)
treed98722760833c7b01bc52242a81dcf62a2560a26 /odb/relational/inline.hxx
parent808f6cc2d9c25da6dbacf44cbe045a64a5596673 (diff)
Simplify query inheritance hierarchy
This should also allow Sun CC handle queries for objects with circular dependencies.
Diffstat (limited to 'odb/relational/inline.hxx')
-rw-r--r--odb/relational/inline.hxx80
1 files changed, 0 insertions, 80 deletions
diff --git a/odb/relational/inline.hxx b/odb/relational/inline.hxx
index add4741..39801cb 100644
--- a/odb/relational/inline.hxx
+++ b/odb/relational/inline.hxx
@@ -423,45 +423,6 @@ namespace relational
callback_calls_->traverse (c, true);
os << "}";
- // query_type
- //
- if (options.generate_query ())
- {
- 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)"
- << "{"
- << "}";
- }
-
// load_()
//
if (id != 0 && !(poly_derived || has_a (c, test_container)))
@@ -569,47 +530,6 @@ namespace relational
view_extra (c);
- // query_type
- //
- size_t obj_count (c.get<size_t> ("object-count"));
-
- if (obj_count != 0)
- {
- 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