Go to the documentation of this file.
4 #ifndef tools_sg_sf_img
5 #define tools_sg_sf_img
19 static const std::string s_v(
"tools::sg::sf_img<"+
stype(T())+
">");
22 virtual void*
cast(
const std::string& a_class)
const {
34 if(!a_buffer.
read_img(w,h,n,b))
return false;
36 if(w && h && n && b) {
39 mem::decrement(s_new().c_str());
44 virtual bool dump(std::ostream&) {
48 virtual bool s_value(std::string& a_s)
const {a_s.clear();
return false;}
49 virtual bool s2value(
const std::string&) {
return false;}