57 template<
typename DataModel>
58 void invokeSetWithEachArgument(DataModel & )
63 template<
typename DataModel,
typename Arg,
typename... Args>
64 void invokeSetWithEachArgument(DataModel &dm, Arg &&arg, Args &&...args)
66 dm.set(std::forward<Arg>(arg));
67 invokeSetWithEachArgument(dm, std::forward<Args>(args)...);
73 static void setFromString(T &target,
const std::string &value)
75 target.setFromString(value);
78 static void setFromString(T &target,
const std::string &path,
const std::string &value)
80 target.setFromString(path, value);
83 static std::string getString(
const T &target,
const std::string &path)
85 return target.getString(path);
90 void setFromString(T &target,
const std::string &value)
92 Befriend<T>::setFromString(target, value);
96 void setFromString(T &target,
const std::string &path,
const std::string &value)
98 Befriend<T>::setFromString(target, path, value);
102 std::string getString(
const T &target,
const std::string &path)
104 return Befriend<T>::getString(target, path);
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:84