// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
#ifndef _SMESHDS_Document_HeaderFile
#define _SMESHDS_Document_HeaderFile
-#include <map>
+#include "SMESH_SMESHDS.hxx"
+
#include "SMESHDS_Mesh.hxx"
#include "SMESHDS_Hypothesis.hxx"
-using namespace std;
+#include <map>
+
-class SMESHDS_Document
+class SMESHDS_EXPORT SMESHDS_Document
{
public:
SMESHDS_Document(int UserID);
- int NewMesh();
+ int NewMesh(bool theIsEmbeddedMode);
void RemoveMesh(int MeshID);
SMESHDS_Mesh * GetMesh(int MeshID);
void AddHypothesis(SMESHDS_Hypothesis * H);
private:
int myUserID;
- map<int,SMESHDS_Mesh*> myMeshes;
- map<int,SMESHDS_Hypothesis*> myHypothesis;
- map<int,SMESHDS_Mesh*>::iterator myMeshesIt;
- map<int,SMESHDS_Hypothesis*>::iterator myHypothesisIt;
+ std::map<int,SMESHDS_Mesh*> myMeshes;
+ std::map<int,SMESHDS_Hypothesis*> myHypothesis;
+ std::map<int,SMESHDS_Mesh*>::iterator myMeshesIt;
+ std::map<int,SMESHDS_Hypothesis*>::iterator myHypothesisIt;
};
#endif