CompleteDB Embedded: Direct C++ API  2.4.2
TableDml.hpp
Go to the documentation of this file.
1 #ifndef COMPLETEDB_TABLEDML_HPP
2 #define COMPLETEDB_TABLEDML_HPP
3 
4 #include "CompleteDb.h"
6 #include "completedb/Object.hpp"
7 #include "completedb/Record.hpp"
8 
9 namespace completedb {
10 
16 class TableDml
17 : public virtual Object
18 {
19 
20 public: // override Object iface
21 
25  virtual bool cast(const Object& from) { return completedb_TableDml_cast(&m, from.get(), from.getClassType()); }
29  virtual bool isConnected() const { return completedb_TableDml_isConnected(m); }
33  virtual bool isDisconnected() const { return completedb_TableDml_isDisconnected(m); }
42 
43 public: // iface
44 
49 
50 public: // factory lvalue
51 
52  TableDml& operator=(const TableDml& src) { completedb_TableDml_assign(&m, src.m, src.getClassType()); return *this; }
54 
55 public: // factory
56 
59 
60 private: // factory
61 
62  TableDml(void* src) : Object(src) {}
63 
64 };
65 
66 } // namespace
67 
68 #endif /* COMPLETEDB_TABLEDML_HPP */