aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/context.ixx
blob: 54194ada016d12512b8892a0a1f4d8f6a7fd2c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// file      : odb/relational/context.ixx
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license   : GNU GPL v3; see accompanying LICENSE file

namespace relational
{
  inline bool context::
  grow (semantics::class_& c)
  {
    return current ().grow_impl (c);
  }

  inline bool context::
  grow (semantics::data_member& m)
  {
    return current ().grow_impl (m);
  }

  inline bool context::
  grow (semantics::data_member& m, semantics::type& t, string const& kp)
  {
    return current ().grow_impl (m, t, kp);
  }

  inline context::string context::
  quote_string (string const& str) const
  {
    return current ().quote_string_impl (str);
  }

  inline context::string context::
  quote_id (string const& id) const
  {
    return current ().quote_id_impl (qname (id));
  }

  inline context::string context::
  quote_id (qname const& id) const
  {
    return current ().quote_id_impl (id);
  }
}