30 #ifndef __SFTOOLS_LOADERS_HPP__
31 #define __SFTOOLS_LOADERS_HPP__
91 if (
load(*ptr, *it +
id))
114 virtual bool load(R& res, std::string src) = 0;
122 template <
typename R>
125 bool load(R& res, std::string src)
127 return res.loadFromFile(src);
136 template <
typename R>
139 bool load(R& res, std::string src)
141 return res.openFromFile(src);
147 #endif // __SFTOOLS_LOADERS_HPP__