| 301 | return vec_methods.find(m) != vec_methods.end() ; |
| 302 | } |
| 303 | bool has_property( const std::string& m){ |
| 304 | return properties.find(m) != properties.end() ; |
| 305 | } |
| 306 | bool property_is_readonly( const std::string& p) { |
| 307 | typename PROPERTY_MAP::iterator it = properties.find( p ) ; |
| 308 | if( it == properties.end() ) throw std::range_error( "no such property" ) ; |