Exemple #1
0
 virtual void print() const{
     printf("%s: \"%s\"\n", _name.c_str(), _description.c_str());
     item_map_t::const_iterator iter = _item_map.begin();
     for(; iter != _item_map.end(); ++ iter){
         printf("\t");
         iter->second.print();
     }
 }
Exemple #2
0
 virtual void flush(){
     item_map_t::iterator iter = _item_map.begin();
     for(; iter != _item_map.end(); ++iter) iter->second.flush();
 }