Go to the documentation of this file.
4 #ifndef tools_sg_sf_enum
5 #define tools_sg_sf_enum
15 virtual void*
cast(
const std::string& a_class)
const {
16 if(
void* p = cmp_cast<bsf_enum>(
this,a_class)) {
return p;}
19 virtual const std::string&
s_cls()
const {
return s_class();}
35 virtual void*
cast(
const std::string& a_class)
const {
47 if(!a_buffer.
read(v))
return false;
51 virtual bool dump(std::ostream&) {
55 virtual bool s_value(std::string& a_s)
const {a_s.clear();
return false;}
56 virtual bool s2value(
const std::string&) {
return false;}