]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/evalyfx/YACSEvalPort.hxx
Salome HOME
[EDF27816] : in case of UsingPythonCache disabled (default) all temporary variables...
[modules/yacs.git] / src / evalyfx / YACSEvalPort.hxx
index 233732713680993c574a7e7911b9ce33219e71d2..f6031c9e550cc7b7d34d2a51193c666a6df20fdb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2016  CEA/DEN, EDF R&D
+// Copyright (C) 2012-2022  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
@@ -61,7 +61,7 @@ public:
 private:
   double _v;
 public:
-  static const char TYPE_REPR[];
+  YACSEVALYFX_EXPORT static const char TYPE_REPR[];
 };
 
 class YACSEvalAnyInt : public YACSEvalAny
@@ -76,7 +76,7 @@ public:
 private:
   int _v;
 public:
-  static const char TYPE_REPR[];
+  YACSEVALYFX_EXPORT static const char TYPE_REPR[];
 };
 
 class YACSEvalPort
@@ -133,7 +133,7 @@ public:
   YACSEVALYFX_EXPORT YACSEvalOutputPort(YACS::ENGINE::OutputPort *ptr);
   YACSEVALYFX_EXPORT std::string getName() const;
   YACSEVALYFX_EXPORT std::string getTypeOfData() const;
-  YACSEVALYFX_EXPORT bool setQOfInterestStatus(bool newStatus) { _isQOfInt=newStatus; }
+  YACSEVALYFX_EXPORT bool setQOfInterestStatus(bool newStatus) { _isQOfInt=newStatus; return _isQOfInt; }
   YACSEVALYFX_EXPORT bool isQOfInterest() const { return _isQOfInt; }
   //
   YACSEVALYFX_EXPORT YACS::ENGINE::OutputPort *getUndergroundPtr() const { return _ptr; }