acl/lib_acl_cpp/include/acl_cpp/hsocket/hstable.hpp

30 lines
501 B
C++
Raw Normal View History

2014-11-19 00:25:21 +08:00
#pragma once
2017-06-02 14:47:24 +08:00
#include "../acl_cpp_define.hpp"
#include "../stdlib/noncopyable.hpp"
2014-11-19 00:25:21 +08:00
#ifndef ACL_CLIENT_ONLY
2014-11-19 00:25:21 +08:00
namespace acl {
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
#endif // ACL_CLIENT_ONLY