$
$#include <Standard.hxx>
$#include <Standard_DefineHandle.hxx>
-$#include <Handle_%Class.hxx>
$
$%TICIncludes
$
$
$%TICIncludes
$
-$class Handle(%Inherits);
-$class %Class;
-$DEFINE_STANDARD_HANDLE(%Class, %Inherits)
-$
$%ClassComment
$class %Class : public %Inherits
${
@end;
@template TransientIxx (%Class,%Suffix,%Supplement,%TypeMgt,%Methods) is
-$// This file is generated by WOK (CPPExt).
-$// Please do not edit this file; modify original file instead.
-$// The copyright and license terms as defined for the original file apply to
-$// this header file considered to be the "object code" form of the original source.
-$
-$#include <%Class.%Suffix>
+$// Useless stuff
$
$#include <Standard_Type.hxx>
-$
-$%Supplement
-$
-$%TypeMgt
-$
-$%Methods
@end;
-- ================================
$
$%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;
$#include <%Inherits.hxx>
$
$class %Class;
-$DEFINE_STANDARD_HANDLE(%Class, %Inherits)
$
$#if !defined No_Exception && !defined No_%Class
$ #define %Class_Raise_if(CONDITION, MESSAGE) \
@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