-// Copyright (C) 2009-2013 CEA/DEN, EDF R&D
+// Copyright (C) 2009-2023 CEA/DEN, 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
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
#include <stdexcept>
#include <cstdio>
-class HEXABLOCKPLUGIN_EXPORT HEXABLOCKPlugin_Hypothesis: public SMESH_Hypothesis
+class HEXABLOCKPLUGINENGINE_EXPORT HEXABLOCKPlugin_Hypothesis: public SMESH_Hypothesis
{
public:
- HEXABLOCKPlugin_Hypothesis(int hypId, int studyId, SMESH_Gen * gen);
+ HEXABLOCKPlugin_Hypothesis(int hypId, SMESH_Gen * gen);
/*!
* Define the document to be meshed, mandatory
// void SetDocument(HEXA_NS::Document* doc); .. replaced by :
void SetDocument (cpchar name);
void SetXmlFlow (cpchar xml);
- char* GetXmlFlow () const;
+ cpchar GetXmlFlow () const;
/*!
* To define the hight dimension to generated: 3 = hexas, 2 = quads, 1 = segments, 0 = nodes
// Persistence
virtual std::ostream & SaveTo(std::ostream & save);
virtual std::istream & LoadFrom(std::istream & load);
- friend HEXABLOCKPLUGIN_EXPORT std::ostream & operator <<(std::ostream & save, HEXABLOCKPlugin_Hypothesis & hyp);
- friend HEXABLOCKPLUGIN_EXPORT std::istream & operator >>(std::istream & load, HEXABLOCKPlugin_Hypothesis & hyp);
+ friend HEXABLOCKPLUGINENGINE_EXPORT std::ostream & operator <<(std::ostream & save, HEXABLOCKPlugin_Hypothesis & hyp);
+ friend HEXABLOCKPLUGINENGINE_EXPORT std::istream & operator >>(std::istream & load, HEXABLOCKPlugin_Hypothesis & hyp);
/*!
* \brief Does nothing