Пример #1
0
bool AAFContainment::Visit(boost::shared_ptr<Visitor> spVisitor)
{
  boost::shared_ptr<TypedVisitor> spTypedVis = boost::dynamic_pointer_cast<TypedVisitor>(spVisitor);
  if(spTypedVis)
  {
    return spTypedVis->EdgeVisit(*this);
  }

  return spVisitor->EdgeVisit(*this);
}
Пример #2
0
bool Edge::Visit(boost::shared_ptr<Visitor> spVisitor)
{
  return spVisitor->EdgeVisit(*this);
}