ANNA Suite  2020b
Multipurpose development suite for Telco applications
OracleTranslator.hpp
Go to the documentation of this file.
1 // ANNA - Anna is Not Nothingness Anymore //
2 // //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
4 // //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7 
8 
9 #ifndef anna_dbms_mysql_OracleTranslator_hpp
10 #define anna_dbms_mysql_OracleTranslator_hpp
11 
13 
14 namespace anna {
15 
16 namespace dbms {
17 
18 namespace mysql {
19 
30 public:
34  static StatementTranslator* instantiate() { return &st_this; }
35 
36 private:
37  char* a_buffer;
38  int a_size;
39 
40  static OracleTranslator st_this;
41 
42  OracleTranslator() : StatementTranslator("dbms::mysql::OracleTranslator"),
43  a_buffer(NULL), a_size(-1)
44  {;}
45 
46  const char* apply(const char* statement) noexcept(false);
47  void allocate(const char* statement) ;
48 };
49 
50 }
51 }
52 }
53 
54 #endif
Definition: OracleTranslator.hpp:29
static StatementTranslator * instantiate()
Definition: OracleTranslator.hpp:34
StatementTranslator(const char *name)
Definition: StatementTranslator.hpp:56
Definition: app.hpp:12
Definition: StatementTranslator.hpp:44