Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8358c72
)
Update to mach the changes in SMDS
author
jrt
<jrt>
Thu, 4 Sep 2003 10:56:52 +0000
(10:56 +0000)
committer
jrt
<jrt>
Thu, 4 Sep 2003 10:56:52 +0000
(10:56 +0000)
src/Driver/Document_Reader.cxx
patch
|
blob
|
history
src/Driver/Document_Reader.h
patch
|
blob
|
history
src/Driver/Document_Writer.cxx
patch
|
blob
|
history
src/Driver/Document_Writer.h
patch
|
blob
|
history
src/Driver/Mesh_Reader.h
patch
|
blob
|
history
src/Driver/Mesh_Writer.h
patch
|
blob
|
history
diff --git
a/src/Driver/Document_Reader.cxx
b/src/Driver/Document_Reader.cxx
index df54fbf55aa56c725d6d0c4ca660e746b24f6d78..26dcf1450a01cc92fd1ee807d9e4c8c85f63ae41 100644
(file)
--- a/
src/Driver/Document_Reader.cxx
+++ b/
src/Driver/Document_Reader.cxx
@@
-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
//
// 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"
#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;
}
}
-
diff --git
a/src/Driver/Document_Reader.h
b/src/Driver/Document_Reader.h
index 5c534c9c04b9028a3d18965253d49f74c81842d8..2766466c2526017380cc15cf2860c0dcdc8fca87 100644
(file)
--- a/
src/Driver/Document_Reader.h
+++ b/
src/Driver/Document_Reader.h
@@
-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
//
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-30,15
+30,15
@@
#include "SMESHDS_Document.hxx"
#include <string>
#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
};
#endif
diff --git
a/src/Driver/Document_Writer.cxx
b/src/Driver/Document_Writer.cxx
index 2d723f1237b1d3fdb5c694edd437661bfcd70882..8704c128463dbc35f436eee89e7713e834a1dbd2 100644
(file)
--- a/
src/Driver/Document_Writer.cxx
+++ b/
src/Driver/Document_Writer.cxx
@@
-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
//
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-27,11
+27,12
@@
using namespace std;
#include "Document_Writer.h"
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;
}
}
-
diff --git
a/src/Driver/Document_Writer.h
b/src/Driver/Document_Writer.h
index a326b92b6feeae94e131f3a8a469037a3018d391..4aea9605c07a2798dba3184307e3da0663b0cda4 100644
(file)
--- a/
src/Driver/Document_Writer.h
+++ b/
src/Driver/Document_Writer.h
@@
-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
//
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-30,16
+30,15
@@
#include "SMESHDS_Document.hxx"
#include <string>
#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
};
#endif
diff --git
a/src/Driver/Mesh_Reader.h
b/src/Driver/Mesh_Reader.h
index 95602c31e92301db71e932de38b26bcfdbdc08a3..251f2bb9dd89ef874b04c713371f92572a392001 100644
(file)
--- a/
src/Driver/Mesh_Reader.h
+++ b/
src/Driver/Mesh_Reader.h
@@
-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
//
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-28,16
+28,16
@@
#define _INCLUDE_MESH_READER
#include <string>
#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
};
#endif
diff --git
a/src/Driver/Mesh_Writer.h
b/src/Driver/Mesh_Writer.h
index dc5333dbb89cd19bf4eaa3c2c5f54da17cb3df7b..e382f27b6bd1a2b68ea07a8164bfc19406249da7 100644
(file)
--- a/
src/Driver/Mesh_Writer.h
+++ b/
src/Driver/Mesh_Writer.h
@@
-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
//
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-28,16
+28,16
@@
#define _INCLUDE_MESH_WRITER
#include <string>
#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
};
#endif