Salome HOME
NRI : First integration.
[modules/smesh.git] / src / SMDS / Handle_SMDS_MeshNode.hxx
diff --git a/src/SMDS/Handle_SMDS_MeshNode.hxx b/src/SMDS/Handle_SMDS_MeshNode.hxx
new file mode 100644 (file)
index 0000000..0533398
--- /dev/null
@@ -0,0 +1,89 @@
+// File generated by CPPExt (Transient)
+//
+//                     Copyright (C) 1991,1995 by
+//  
+//                      MATRA DATAVISION, FRANCE
+//  
+// This software is furnished in accordance with the terms and conditions
+// of the contract and with the inclusion of the above copyright notice.
+// This software or any other copy thereof may not be provided or otherwise
+// be made available to any other person. No title to an ownership of the
+// software is hereby transferred.
+//  
+// At the termination of the contract, the software and all copies of this
+// software must be deleted.
+
+#ifndef _Handle_SMDS_MeshNode_HeaderFile
+#define _Handle_SMDS_MeshNode_HeaderFile
+
+#ifndef _Standard_Macro_HeaderFile
+#include <Standard_Macro.hxx>
+#endif
+#ifndef _Standard_HeaderFile
+#include <Standard.hxx>
+#endif
+
+#ifndef _Handle_SMDS_MeshElement_HeaderFile
+#include "Handle_SMDS_MeshElement.hxx"
+#endif
+
+class Standard_Transient;
+class Handle_Standard_Type;
+class Handle(SMDS_MeshElement);
+class SMDS_MeshNode;
+Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshNode);
+
+class Handle(SMDS_MeshNode) : public Handle(SMDS_MeshElement) {
+  public:
+    inline void* operator new(size_t,void* anAddress) 
+      {
+        return anAddress;
+      }
+    inline void* operator new(size_t size) 
+      { 
+        return Standard::Allocate(size); 
+      }
+    inline void  operator delete(void *anAddress) 
+      { 
+        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
+      }
+//    inline void  operator delete(void *anAddress, size_t size) 
+//      { 
+//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
+//      }
+    Handle(SMDS_MeshNode)():Handle(SMDS_MeshElement)() {} 
+    Handle(SMDS_MeshNode)(const Handle(SMDS_MeshNode)& aHandle) : Handle(SMDS_MeshElement)(aHandle) 
+     {
+     }
+
+    Handle(SMDS_MeshNode)(const SMDS_MeshNode* anItem) : Handle(SMDS_MeshElement)((SMDS_MeshElement *)anItem) 
+     {
+     }
+
+    Handle(SMDS_MeshNode)& operator=(const Handle(SMDS_MeshNode)& aHandle)
+     {
+      Assign(aHandle.Access());
+      return *this;
+     }
+
+    Handle(SMDS_MeshNode)& operator=(const SMDS_MeshNode* anItem)
+     {
+      Assign((Standard_Transient *)anItem);
+      return *this;
+     }
+
+    SMDS_MeshNode* operator->() 
+     {
+      return (SMDS_MeshNode *)ControlAccess();
+     }
+
+    SMDS_MeshNode* operator->() const 
+     {
+      return (SMDS_MeshNode *)ControlAccess();
+     }
+
+   Standard_EXPORT ~Handle(SMDS_MeshNode)();
+   Standard_EXPORT static const Handle(SMDS_MeshNode) DownCast(const Handle(Standard_Transient)& AnObject);
+};
+#endif