Files
DataStorage/include/DataId.h
T

31 lines
404 B
C++

#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;
public:
static int Min();
static int Max();
private:
int GetId(const std::string& dataName) const;
private:
std::string m_table;
};
} // namespace DataStorage
#endif // DATAID_H