identt
PeerTable.hpp
Go to the documentation of this file.
1 
33 #ifndef _IDENTT_STORE_PEER_TABLE_HPP_
34 #define _IDENTT_STORE_PEER_TABLE_HPP_
35 
36 #include "StoreTable.hpp"
37 
38 namespace identt {
39 namespace store {
40 class PeerTable : public StoreTable<PeerT> {
41 public:
45 
53  PeerTable(dbpointer trydb);
54 
59  virtual ~PeerTable() {}
60 
65  PeerTable() = delete;
66  PeerTable(const std::string, const size_t) = delete;
67  PeerTable(const PeerTable&) = delete;
68  PeerTable& operator=(const PeerTable&) = delete;
69 
70 
71 protected:
72 
88  std::string GetKey(PeerT* record, KeyTypeE keytype, bool pre) override;
89 
90 };
91 } // namespace store
92 } // namespace identt
93 #endif /* _IDENTT_STORE_PEER_TABLE_HPP_ */
PeerTable()=delete
make noncopyable and remove default
std::string GetKey(PeerT *record, KeyTypeE keytype, bool pre) override
GetKey: get a key.
Definition: PeerTable.cc:53
Definition: PeerTable.hpp:40
Definition: StoreTable.hpp:44
Definition: CryptoBase.hpp:49
virtual ~PeerTable()
Destructor.
Definition: PeerTable.hpp:59