mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 17:30:33 +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,
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
@ -30,15 +30,15 @@
|
||||
#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
|
||||
|
@ -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
|
||||
@ -27,11 +27,12 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
@ -30,16 +30,15 @@
|
||||
#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
|
||||
|
@ -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
|
||||
@ -28,16 +28,16 @@
|
||||
#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
|
||||
|
@ -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
|
||||
@ -28,16 +28,16 @@
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user