]> OCCT Git - occt-wok.git/commitdiff
Template corrected for #24023 CR24023
authorabv <abv@opencascade.com>
Thu, 10 Apr 2014 04:52:48 +0000 (08:52 +0400)
committerabv <abv@opencascade.com>
Thu, 10 Apr 2014 04:52:48 +0000 (08:52 +0400)
src/CPPExt/CPPExt_Template.edl

index fc3a3a226c3b7c46e6d59bde96d00bfb6423bc4e..1866dde8f05f7ce7648202af409f73b06da1aecd 100755 (executable)
@@ -9,26 +9,7 @@
 -- ====================================
 
 @template HandleTransient (%HTName,%HTInherits) 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.
-$
-$#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)
-$
-$#endif // _Handle_%HTName_HeaderFile
+$// useless stuff
 @end;
 
 -- ===============================
@@ -59,7 +40,7 @@ $#ifndef _%Class_HeaderFile
 $#define _%Class_HeaderFile
 $
 $#include <Standard.hxx>
-$#include <Standard_DefineHandle.hxx>
+$#include <Standard_Type.hxx>
 $
 $%TICIncludes
 $
@@ -119,7 +100,7 @@ $#ifndef _%Class_HeaderFile
 $#define _%Class_HeaderFile
 $
 $#include <Standard.hxx>
-$#include <Standard_DefineHandle.hxx>
+$#include <Standard_Type.hxx>
 $
 $%TICIncludes
 $
@@ -156,9 +137,20 @@ $#endif // _%Class_HeaderFile
 @end;
 
 @template TransientIxx (%Class,%Suffix,%Supplement,%TypeMgt,%Methods) is
-$// Useless stuff
+$// 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>
 $
 $#include <Standard_Type.hxx>
+$
+$%Supplement 
+$
+$%TypeMgt
+$
+$%Methods
 @end;
 
 -- ================================
@@ -399,7 +391,6 @@ $#ifndef _%Class_HeaderFile
 $#define _%Class_HeaderFile
 $
 $#include <Standard.hxx>
-$#include <Standard_DefineHandle.hxx>
 $#include <Standard_DefineException.hxx>
 $#include <Standard_SStream.hxx>
 $#include <%Inherits.hxx>