Initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#ifndef DATAID_H
|
||||
#define DATAID_H
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
namespace DataStorage {
|
||||
|
||||
class DataId
|
||||
{
|
||||
public:
|
||||
DataId(const std::string& dataName);
|
||||
|
||||
int Id() const;
|
||||
std::string Table() const;
|
||||
|
||||
private:
|
||||
int GetId(const std::string& dataName) const;
|
||||
|
||||
private:
|
||||
std::string m_table;
|
||||
};
|
||||
|
||||
} // namespace DataStorage
|
||||
|
||||
#endif // DATAID_H
|
||||
Reference in New Issue
Block a user