Initial commit
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#ifndef DATAINTERFACE_DATATYPE_H
|
||||
#define DATAINTERFACE_DATATYPE_H
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
namespace DataStorageInterface {
|
||||
namespace DataInterface {
|
||||
|
||||
class DataType
|
||||
{
|
||||
public:
|
||||
enum type
|
||||
{
|
||||
None,
|
||||
Float,
|
||||
String
|
||||
};
|
||||
};
|
||||
|
||||
DataType::type GetDataType(const std::string& value);
|
||||
|
||||
namespace Conversions {
|
||||
|
||||
DataType::type DataType(const std::string& datatype);
|
||||
std::string DataType(DataType::type datatype);
|
||||
|
||||
} // namespace Conversions
|
||||
|
||||
} // namespace DataInterface
|
||||
} // namespace DataStorageInterface
|
||||
|
||||
#endif // DATAINTERFACE_DATATYPE_H
|
||||
Reference in New Issue
Block a user