$#ifndef _Handle_%HTName_HeaderFile
$#define _Handle_%HTName_HeaderFile
$
-$#include <Standard.hxx>
$#include <Standard_DefineHandle.hxx>
$#include <Handle_%HTInherits.hxx>
$
-$class Standard_Transient;
-$class Handle(Standard_Type);
-$class Handle(%HTInherits);
$class %HTName;
$
$DEFINE_STANDARD_HANDLE(%HTName, %HTInherits)
$#ifndef _%Class_HeaderFile
$#define _%Class_HeaderFile
$
-$#include <Standard.hxx>
-$#include <Standard_DefineHandle.hxx>
+$#include <Standard_Type.hxx>
$#include <Handle_%Class.hxx>
$
$%TICIncludes
$#define _%Class_HeaderFile
$
$#include <Standard.hxx>
-$#include <Standard_DefineHandle.hxx>
+$#include <Standard_Type.hxx>
$
$%TICIncludes
$
-$class Handle(%Inherits);
$class %Class;
$DEFINE_STANDARD_HANDLE(%Class, %Inherits)
$
$
$%TICIncludes
$
-$Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(%Class);
-$
$%ClassComment
$class %Class %Inherits
${
$#ifndef _%Class_HeaderFile
$#define _%Class_HeaderFile
$
-$#include <Standard_PrimitiveTypes.hxx>
-$
$%EnumComment
$enum %Class
${
$typedef %Inherits %Class;
$%HandleTypedef
$
-$#define %Class_Type_() %Inherits_Type_()
-$
$#endif // _%Class_HeaderFile
@end;
$#ifndef _%Class_HeaderFile
$#define _%Class_HeaderFile
$
-$#include <Standard.hxx>
-$#include <Standard_DefineHandle.hxx>
+$#include <Standard_Type.hxx>
$#include <Standard_DefineException.hxx>
$#include <Standard_SStream.hxx>
$#include <%Inherits.hxx>
@template ItemHandleDefine (%DName,%DValue) is
$#define Handle_%DName Handle_%DValue
-$#define %DName_Type_() %DValue_Type_()
@end;
@template Undefine(%DName) is
@template ItemHandleUndefine(%DName) is
$#undef Handle_%DName
-$#undef %DName_Type_
@end;
@template ShortDec(%IClass) is
@end;
@template TypeMgtAncestor(%Nb,%Ancestors) is
-$ STANDARD_TYPE(%Ancestors),
+$
@end;
@template TypeMgt(%Class,%Inherits,%Ancestors) is
$
-$IMPLEMENT_STANDARD_TYPE(%Class)
-$IMPLEMENT_STANDARD_SUPERTYPE_ARRAY()
-$%Inherits
-$IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END()
-$IMPLEMENT_STANDARD_TYPE_END(%Class)
@end;
-- type management : END
@template DownCast(%Class,%IClass) is
-$IMPLEMENT_DOWNCAST(%Class,%IClass)
+$
@end;
@template DynamicType(%Class) is
-$IMPLEMENT_STANDARD_RTTI(%Class)
+$
@end;
@template IsKind(%Class,%IClass) is
$
$#include <Standard_Macro.hxx>
$#include <Standard_DefineHandle.hxx>
-$#include <Standard.hxx>
$#include <Handle_%HPInherits.hxx>
$
$class Standard_Persistent;
$#ifndef _%Class_HeaderFile
$#define _%Class_HeaderFile
$
-$#include <Standard_Macro.hxx>
-$#include <Standard_DefineHandle.hxx>
-$#include <Standard.hxx>
+$#include <Standard_Type.hxx>
$#include <Handle_%Class.hxx>
$
$%TICIncludes
$%TICPublicmets
$%TICPublicfriends
$
-$ DEFINE_STANDARD_RTTI(%Class)
+$ DEFINE_STANDARD_RTTI(%Class,%Inherits)
$
$protected:
$
$
$ Storage_DECLARE_SCHEMA_METHODS(%Schema)
$
-$ DEFINE_STANDARD_RTTI(%Schema)
+$ DEFINE_STANDARD_RTTI(%Schema,Storage_Schema)
$};
$
$#endif
$#ifndef _Storage_BaseDriver_HeaderFile
$#include <Storage_BaseDriver.hxx>
$#endif
-$#ifndef _Handle_%Type_HeaderFile
-$#include <Handle_%Type.hxx>
+$#ifndef _%Type_HeaderFile
+$#include <%Type.hxx>
$#endif
$
$%Include
$ Standard_EXPORT void Write(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const;
$ Standard_EXPORT void Read(const Handle(Standard_Persistent)&,Storage_BaseDriver&,const Handle(Storage_Schema)&) const;
$
-$ DEFINE_STANDARD_RTTI(%Schema_%Type)
+$ DEFINE_STANDARD_RTTI(%Schema_%Type,Storage_CallBack)
$};
$#endif
@end;