0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Map names of variables set via SetVarParameter() to the method name setting them
+ void SetVarParameter (const char* parameter, const char* method);
+ char* GetVarParameter (const char* methodName);
+ std::map< std::string, std::string > myMethod2VarParams; // variable parameters
+
+ public:
+ // Methods for backward compatibility of notebook variables
+ virtual void setOldParameters (const char* theParameters);
+ virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const { return ""; }
+ virtual int getParamIndex(const TCollection_AsciiString& method, int nbVars) const { return -1; }
};
// ======================================================