2019-07-28 10:31:56 +08:00
|
|
|
#pragma once
|
2017-06-02 14:47:24 +08:00
|
|
|
#include "../acl_cpp_define.hpp"
|
2019-05-09 13:57:51 +08:00
|
|
|
#include "../stdlib/noncopyable.hpp"
|
2014-11-19 00:25:21 +08:00
|
|
|
|
2019-05-18 21:19:21 +08:00
|
|
|
#ifndef ACL_CLIENT_ONLY
|
|
|
|
|
2014-11-19 00:25:21 +08:00
|
|
|
namespace acl {
|
|
|
|
|
2019-05-09 13:57:51 +08:00
|
|
|
class ACL_CPP_API hstable : public noncopyable
|
2014-11-19 00:25:21 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
hstable(int id, const char* dbn, const char* tbl,
|
|
|
|
const char* idx, const char* flds);
|
|
|
|
~hstable();
|
|
|
|
|
|
|
|
private:
|
|
|
|
friend class hsclient;
|
|
|
|
int id_;
|
|
|
|
char* dbn_;
|
|
|
|
char* tbl_;
|
|
|
|
char* idx_;
|
|
|
|
char* flds_;
|
|
|
|
int nfld_;
|
|
|
|
char** values_;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace acl
|
2019-05-18 21:19:21 +08:00
|
|
|
|
|
|
|
#endif // ACL_CLIENT_ONLY
|