26 std::copy(continuousKeys.begin(), continuousKeys.end(),
27 std::back_inserter(allKeys));
29 std::back_inserter(allKeys),
37 std::copy(keys1.begin(), keys1.end(), std::back_inserter(allKeys));
38 std::copy(keys2.begin(), keys2.end(), std::back_inserter(allKeys));
46 std::copy(
key1.begin(),
key1.end(), std::back_inserter(allKeys));
47 std::copy(
key2.begin(),
key2.end(), std::back_inserter(allKeys));
58 if ((continuousKeys.size() == 0) && (discreteKeys.size() != 0)) {
60 }
else if ((continuousKeys.size() != 0) && (discreteKeys.size() == 0)) {
62 }
else if ((continuousKeys.size() != 0) && (discreteKeys.size() != 0)) {
74 category_(
GetCategory(continuousKeys, discreteKeys)),
75 discreteKeys_(discreteKeys),
76 continuousKeys_(continuousKeys) {}
81 category_(Category::Discrete),
82 discreteKeys_(discreteKeys),
83 continuousKeys_({}) {}
87 const This *
e =
dynamic_cast<const This *
>(&lf);
96 std::cout << (
s.empty() ?
"" :
s +
"\n");
99 std::cout <<
"Continuous ";
102 std::cout <<
"Discrete ";
105 std::cout <<
"Hybrid ";
108 std::cout <<
"None ";