blob: 09d14c9e1fddbc802a72c007d38b57fb65aef52d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef CORE_CONFIG_STRING_HH
#define CORE_CONFIG_STRING_HH 1
#pragma once
#include "core/config/ivalue.hh"
namespace config
{
class String : public IValue {
public:
explicit String(const char* default_value);
virtual ~String(void) = default;
virtual void set(const char* value) override;
virtual const char* get(void) const override;
private:
std::string m_value;
};
} // namespace config
#endif // CORE_CONFIG_STRING_HH
|