Salome HOME
Update to mach the changes in SMDS
authorjrt <jrt>
Thu, 4 Sep 2003 10:56:52 +0000 (10:56 +0000)
committerjrt <jrt>
Thu, 4 Sep 2003 10:56:52 +0000 (10:56 +0000)
src/Driver/Document_Reader.cxx
src/Driver/Document_Reader.h
src/Driver/Document_Writer.cxx
src/Driver/Document_Writer.h
src/Driver/Mesh_Reader.h
src/Driver/Mesh_Writer.h

index df54fbf55aa56c725d6d0c4ca660e746b24f6d78..26dcf1450a01cc92fd1ee807d9e4c8c85f63ae41 100644 (file)
@@ -1,4 +1,4 @@
-//  SMESH Driver : implementaion of driver for reading and writing     
+//  SMESH Driver : implementaion of driver for reading and writing  
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
@@ -29,11 +29,12 @@ using namespace std;
 
 #include "utilities.h"
 
-void Document_Reader::SetFile(string aFile) {
-  myFile = aFile;
+void Document_Reader::SetFile(string aFile)
+{
+       myFile = aFile;
 }
 
-void Document_Reader::SetDocument(Handle(SMESHDS_Document)& aDoc) {
-  myDocument = aDoc;
+void Document_Reader::SetDocument(SMESHDS_Document * aDoc)
+{
+       myDocument = aDoc;
 }
-
index 5c534c9c04b9028a3d18965253d49f74c81842d8..2766466c2526017380cc15cf2860c0dcdc8fca87 100644 (file)
@@ -1,4 +1,4 @@
-//  SMESH Driver : implementaion of driver for reading and writing     
+//  SMESH Driver : implementaion of driver for reading and writing  
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
 #include "SMESHDS_Document.hxx"
 #include <string>
 
-class Document_Reader {
-  
-  public :
-    virtual void Read() =0;
-    void SetFile(string);
-    void SetDocument(Handle(SMESHDS_Document)&);
+class Document_Reader
+{
+  public:
+       virtual void Read() = 0;
+       void SetFile(string);
+       void SetDocument(SMESHDS_Document *);
 
-  protected :
-    Handle_SMESHDS_Document myDocument;
-    string myFile; 
+  protected:
+         SMESHDS_Document * myDocument;
+       string myFile;
 };
 #endif
index 2d723f1237b1d3fdb5c694edd437661bfcd70882..8704c128463dbc35f436eee89e7713e834a1dbd2 100644 (file)
@@ -1,4 +1,4 @@
-//  SMESH Driver : implementaion of driver for reading and writing     
+//  SMESH Driver : implementaion of driver for reading and writing  
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
 using namespace std;
 #include "Document_Writer.h"
 
-void Document_Writer::SetFile(string aFile) {
-  myFile = aFile;
+void Document_Writer::SetFile(string aFile)
+{
+       myFile = aFile;
 }
 
-void Document_Writer::SetDocument(Handle(SMESHDS_Document)& aDoc) {
-  myDocument = aDoc;
+void Document_Writer::SetDocument(SMESHDS_Document * aDoc)
+{
+       myDocument = aDoc;
 }
-
index a326b92b6feeae94e131f3a8a469037a3018d391..4aea9605c07a2798dba3184307e3da0663b0cda4 100644 (file)
@@ -1,4 +1,4 @@
-//  SMESH Driver : implementaion of driver for reading and writing     
+//  SMESH Driver : implementaion of driver for reading and writing  
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
 #include "SMESHDS_Document.hxx"
 #include <string>
 
-class Document_Writer {
+class Document_Writer
+{
 
-  public :
-    virtual void Write() =0;
-    void SetFile(string);
-    void SetDocument(Handle(SMESHDS_Document)&);
+  public:virtual void Write() = 0;
+       void SetFile(string);
+       void SetDocument(SMESHDS_Document *);
 
-  protected :
-    Handle_SMESHDS_Document myDocument;
-    string myFile;
+  protected:  SMESHDS_Document * myDocument;
+       string myFile;
 
 };
 #endif
index 95602c31e92301db71e932de38b26bcfdbdc08a3..251f2bb9dd89ef874b04c713371f92572a392001 100644 (file)
@@ -1,4 +1,4 @@
-//  SMESH Driver : implementaion of driver for reading and writing     
+//  SMESH Driver : implementaion of driver for reading and writing  
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
 #define _INCLUDE_MESH_READER
 
 #include <string>
-#include "Handle_SMDS_Mesh.hxx"
+#include "SMDS_Mesh.hxx"
 
-class Mesh_Reader {
+class Mesh_Reader
+{
 
-  public :
-    virtual void Add() =0;
-    virtual void Read() =0;
-    virtual void SetMesh(Handle(SMDS_Mesh)&) =0;
-    virtual void SetMeshId(int) =0;
-    virtual void SetFile(string) =0;
+  public:virtual void Add() = 0;
+       virtual void Read() = 0;
+       virtual void SetMesh(SMDS_Mesh *) = 0;
+       virtual void SetMeshId(int) = 0;
+       virtual void SetFile(string) = 0;
 
 };
 #endif
index dc5333dbb89cd19bf4eaa3c2c5f54da17cb3df7b..e382f27b6bd1a2b68ea07a8164bfc19406249da7 100644 (file)
@@ -1,4 +1,4 @@
-//  SMESH Driver : implementaion of driver for reading and writing     
+//  SMESH Driver : implementaion of driver for reading and writing  
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
 #define _INCLUDE_MESH_WRITER
 
 #include <string>
-#include "Handle_SMDS_Mesh.hxx"
+#include "SMDS_Mesh.hxx"
 
-class Mesh_Writer {
+class Mesh_Writer
+{
 
-  public :
-    virtual void Add() =0;
-    virtual void Write() =0;
-    virtual void SetMesh(Handle(SMDS_Mesh)&) =0;
-    virtual void SetFile(string) =0;
-    virtual void SetMeshId(int) =0;
+  public:virtual void Add() = 0;
+       virtual void Write() = 0;
+       virtual void SetMesh(SMDS_Mesh *) = 0;
+       virtual void SetFile(string) = 0;
+       virtual void SetMeshId(int) = 0;
 
 };
 #endif