Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
copyrights are updated
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_SinusX.h
diff --git
a/src/HYDROData/HYDROData_SinusX.h
b/src/HYDROData/HYDROData_SinusX.h
index cc743d71cfafd6f2eba2254cd0aecc71ab84d73f..b2f6a8e6881b57a8fa18dfc195240afcf06e3ddf 100644
(file)
--- a/
src/HYDROData/HYDROData_SinusX.h
+++ b/
src/HYDROData/HYDROData_SinusX.h
@@
-1,8
+1,4
@@
-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015 EDF-R&D
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
@@
-56,11
+52,15
@@
public:
HYDROData_SinusX( );
virtual ~HYDROData_SinusX();
bool Import (const QString& theFilePath, Handle(HYDROData_Document) theDocument, NCollection_Sequence<Handle_HYDROData_Entity>& theEntities);
HYDROData_SinusX( );
virtual ~HYDROData_SinusX();
bool Import (const QString& theFilePath, Handle(HYDROData_Document) theDocument, NCollection_Sequence<Handle_HYDROData_Entity>& theEntities);
+ bool Export(const QString& theFilePath, const NCollection_Sequence<Handle_HYDROData_Entity>& theEntities);
+
private:
void SXToHydro(Handle(HYDROData_Document) theDocument, NCollection_Sequence<Handle_HYDROData_Entity>& theEntities);
bool Parse( QFile& theFile );
void CollectExistingNames(Handle_HYDROData_Document theDocument);
QString GetName(const QString& theName);
private:
void SXToHydro(Handle(HYDROData_Document) theDocument, NCollection_Sequence<Handle_HYDROData_Entity>& theEntities);
bool Parse( QFile& theFile );
void CollectExistingNames(Handle_HYDROData_Document theDocument);
QString GetName(const QString& theName);
+ void HydroToSX( QFile& theFile, const NCollection_Sequence<Handle_HYDROData_Entity>& theEntities);
+
private:
std::vector<HYDROGUI_CurveBlock> myCurveBlocks;
private:
std::vector<HYDROGUI_CurveBlock> myCurveBlocks;