mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 12:40:32 +05:00
Update to mach the changes in SMDS
This commit is contained in:
parent
8358c7288e
commit
b7daa91df6
@ -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,
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
// 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) {
|
void Document_Reader::SetFile(string aFile)
|
||||||
myFile = aFile;
|
{
|
||||||
|
myFile = aFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Document_Reader::SetDocument(Handle(SMESHDS_Document)& aDoc) {
|
void Document_Reader::SetDocument(SMESHDS_Document * aDoc)
|
||||||
myDocument = aDoc;
|
{
|
||||||
|
myDocument = aDoc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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,
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
@ -30,15 +30,15 @@
|
|||||||
#include "SMESHDS_Document.hxx"
|
#include "SMESHDS_Document.hxx"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
class Document_Reader {
|
class Document_Reader
|
||||||
|
{
|
||||||
public :
|
public:
|
||||||
virtual void Read() =0;
|
virtual void Read() = 0;
|
||||||
void SetFile(string);
|
void SetFile(string);
|
||||||
void SetDocument(Handle(SMESHDS_Document)&);
|
void SetDocument(SMESHDS_Document *);
|
||||||
|
|
||||||
protected :
|
protected:
|
||||||
Handle_SMESHDS_Document myDocument;
|
SMESHDS_Document * myDocument;
|
||||||
string myFile;
|
string myFile;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -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,
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
@ -27,11 +27,12 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
#include "Document_Writer.h"
|
#include "Document_Writer.h"
|
||||||
|
|
||||||
void Document_Writer::SetFile(string aFile) {
|
void Document_Writer::SetFile(string aFile)
|
||||||
myFile = aFile;
|
{
|
||||||
|
myFile = aFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Document_Writer::SetDocument(Handle(SMESHDS_Document)& aDoc) {
|
void Document_Writer::SetDocument(SMESHDS_Document * aDoc)
|
||||||
myDocument = aDoc;
|
{
|
||||||
|
myDocument = aDoc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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,
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
@ -30,16 +30,15 @@
|
|||||||
#include "SMESHDS_Document.hxx"
|
#include "SMESHDS_Document.hxx"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
class Document_Writer {
|
class Document_Writer
|
||||||
|
{
|
||||||
|
|
||||||
public :
|
public:virtual void Write() = 0;
|
||||||
virtual void Write() =0;
|
void SetFile(string);
|
||||||
void SetFile(string);
|
void SetDocument(SMESHDS_Document *);
|
||||||
void SetDocument(Handle(SMESHDS_Document)&);
|
|
||||||
|
|
||||||
protected :
|
protected: SMESHDS_Document * myDocument;
|
||||||
Handle_SMESHDS_Document myDocument;
|
string myFile;
|
||||||
string myFile;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -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,
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
@ -28,16 +28,16 @@
|
|||||||
#define _INCLUDE_MESH_READER
|
#define _INCLUDE_MESH_READER
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "Handle_SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
|
|
||||||
class Mesh_Reader {
|
class Mesh_Reader
|
||||||
|
{
|
||||||
|
|
||||||
public :
|
public:virtual void Add() = 0;
|
||||||
virtual void Add() =0;
|
virtual void Read() = 0;
|
||||||
virtual void Read() =0;
|
virtual void SetMesh(SMDS_Mesh *) = 0;
|
||||||
virtual void SetMesh(Handle(SMDS_Mesh)&) =0;
|
virtual void SetMeshId(int) = 0;
|
||||||
virtual void SetMeshId(int) =0;
|
virtual void SetFile(string) = 0;
|
||||||
virtual void SetFile(string) =0;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -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,
|
// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||||
@ -28,16 +28,16 @@
|
|||||||
#define _INCLUDE_MESH_WRITER
|
#define _INCLUDE_MESH_WRITER
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "Handle_SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
|
|
||||||
class Mesh_Writer {
|
class Mesh_Writer
|
||||||
|
{
|
||||||
|
|
||||||
public :
|
public:virtual void Add() = 0;
|
||||||
virtual void Add() =0;
|
virtual void Write() = 0;
|
||||||
virtual void Write() =0;
|
virtual void SetMesh(SMDS_Mesh *) = 0;
|
||||||
virtual void SetMesh(Handle(SMDS_Mesh)&) =0;
|
virtual void SetFile(string) = 0;
|
||||||
virtual void SetFile(string) =0;
|
virtual void SetMeshId(int) = 0;
|
||||||
virtual void SetMeshId(int) =0;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user