1 #include <Standard_Transient.hxx>
2 #include <Standard_Type.hxx>
4 #include <Standard_TypeMismatch.hxx>
5 #include <Standard_Persistent.hxx>
7 // now with these two proto, we don't need the include of Standard_Persistent
9 class Handle(Standard_Persistent);
10 Handle_Standard_Type &Standard_Persistent_Type_();
12 //============================================================================
13 void ShallowDump(const Handle(Standard_Persistent)& me, Standard_OStream &aOut)
15 Handle(Standard_Type) aType = me->DynamicType();
17 aOut << "class " << aType->Name() << endl;
20 //============================================================================
21 void ShallowDump(const Handle(Standard_Transient)& me, Standard_OStream &aOut)
23 Handle(Standard_Type) aType = me->DynamicType();
25 aOut << "class " << aType->Name() << endl;