Go to the documentation of this file.
15 inline void*
cmp_cast(
const TO* a_this,
const std::string& a_class) {
16 if(!
rcmp(a_class,TO::s_class()))
return 0;
17 return (
void*)
static_cast<const TO*
>(a_this);
22 if(TO::id_class()!=a_id)
return 0;
23 return (
void*)
static_cast<const TO*
>(a_this);