-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConfigItem.cpp
42 lines (28 loc) · 902 Bytes
/
ConfigItem.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// -*- mode: C++; c-basic-offset: 4; -*-
#include "ConfigItem.h"
#include "ConfigItem_impl.h"
/**
This source module actually defines the implementations these types:
ConfigSet
ConfigItem
ConfigItemT<bool>
ConfigItemT<int>
ConfigItemT<float>,
ConfigItemT<std::string>
**/
ConfigSet::
ConfigSet()
{}
ConfigItem::
ConfigItem(ConfigSet* cs, const std::string& name) :
_name(name), _cs(cs)
{}
template class ConfigItemT<bool>;
template class ConfigItemT<int>;
template class ConfigItemT<float>;
template class ConfigItemT<std::string>;
template bool operator==<bool>(const bool& lhs, const ConfigItemT<bool>& rhs);
template bool operator==<int>(const int& lhs, const ConfigItemT<int>& rhs);
template bool operator==<float>(const float& lhs, const ConfigItemT<float>& rhs);
template bool operator==<std::string>(const std::string& lhs,
const ConfigItemT<std::string>& rhs);