-// ===========================================================================================
-/*!
- * \brief Utility helping in storing SMESH engine calls as python commands
- */
-// ===========================================================================================
+ // ===========================================================================================
+ /*!
+ * \brief Object used to make TPythonDump know that its held value can be a varible
+ *
+ * TPythonDump substitute TVar with names of notebook variables if any.
+ */
+ // ===========================================================================================
+
+ struct SMESH_I_EXPORT TVar
+ {
+ std::vector< std::string > myVals;
+ TVar(CORBA::Double value);
+ TVar(CORBA::Long value);
+ TVar(CORBA::Short value);
+ TVar(const SMESH::double_array& value);
+ // string used to temporary quote variable names in order
+ // not to confuse variables with string arguments
+ static char Quote() { return '$'; }
+ // string preceding an entry of object storing the attribute holding var names
+ static const char* ObjPrefix() { return " # OBJ: "; }
+ };
+
+ // ===========================================================================================
+ /*!
+ * \brief Utility helping in storing SMESH engine calls as python commands
+ */
+ // ===========================================================================================