Example #1
0
bool TypeDesc::isSubclassOf(TypeDesc const &td) const
{
    return  this->getDepth() >= td.getDepth() &&
            *(this->getParents()[ td.getDepth() ]) == td;
}