Common ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
tracer.hxx
Go to the documentation of this file.
1 // file : odb/tracer.hxx
2 // copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
3 // license : GNU GPL v2; see accompanying LICENSE file
4 
5 #ifndef ODB_TRACER_HXX
6 #define ODB_TRACER_HXX
7 
8 #include <odb/pre.hxx>
9 
10 #include <odb/forward.hxx>
11 #include <odb/details/export.hxx>
12 
13 namespace odb
14 {
15  class LIBODB_EXPORT tracer
16  {
17  public:
18  virtual
19  ~tracer ();
20 
21  virtual void
22  prepare (connection&, const statement&);
23 
24  virtual void
25  execute (connection&, const statement&);
26 
27  virtual void
28  execute (connection&, const char* statement) = 0;
29 
30  virtual void
31  deallocate (connection&, const statement&);
32  };
33 }
34 
35 #include <odb/post.hxx>
36 
37 #endif // ODB_TRACER_HXX
Definition: statement.hxx:20
Definition: connection.hxx:33
Definition: tracer.hxx:15