-// 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 "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;
}
-
-// 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
-// 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;
}
-
-// 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
-// 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
-// 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