Salome HOME
YDFX gives to the pyscript nodes into study function the ___idx___ var to identify...
[modules/yacs.git] / src / evalyfx / YACSEvalPort.hxx
index a9f7780654c33ab1b534069b6e8434157aa6767a..af5c21ee481fe8496e6a9acc8618b899fe2d9742 100644 (file)
@@ -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
@@ -105,6 +105,7 @@ public:
   YACSEVALYFX_EXPORT void setDefaultValue(const YACSEvalAny *parameter);
   YACSEVALYFX_EXPORT void setSequenceOfValuesToEval(const YACSEvalSeqAny* vals);
   YACSEVALYFX_EXPORT bool hasSequenceOfValuesToEval() const;
+  YACSEVALYFX_EXPORT YACSEvalSeqAny *getSequenceOfValuesToEval() const { return _mySeq; }
   YACSEVALYFX_EXPORT bool isRandomVar() const { return _isRandom; }
   YACSEVALYFX_EXPORT void declareRandomnessStatus(bool isRandom);
   //
@@ -132,11 +133,14 @@ 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; return _isQOfInt; }
+  YACSEVALYFX_EXPORT bool isQOfInterest() const { return _isQOfInt; }
   //
   YACSEVALYFX_EXPORT YACS::ENGINE::OutputPort *getUndergroundPtr() const { return _ptr; }
   //
 private:
   YACS::ENGINE::OutputPort * _ptr;
+  bool _isQOfInt;
 };
 
 #endif