]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Added 2 new methods encodeEntry and decodeEntry
authorsrn <srn@opencascade.com>
Fri, 10 Feb 2006 12:51:26 +0000 (12:51 +0000)
committersrn <srn@opencascade.com>
Fri, 10 Feb 2006 12:51:26 +0000 (12:51 +0000)
src/SALOMEDS/SALOMEDS_IParameters.cxx
src/SALOMEDS/SALOMEDS_IParameters.hxx

index 8fd2fcf3371f1dde2985b501d25bf9a88210cfa9..5fbe653b364935f4041694c9193ebfc0fb8b675a 100644 (file)
@@ -224,6 +224,17 @@ bool SALOMEDS_IParameters::isDumpPython()
   return (bool)_ap->GetBool(_AP_DUMP_PYTHON_);
 }
 
+string encodeEntry(const string& entry, const string& compName)
+{
+  return entry;
+}
+
+string decodeEntry(const string& entry)
+{
+  return entry;
+}
+
+
 int SALOMEDS_IParameters::getLastSavePoint(_PTR(Study) study, const string& theID)
 {
   _PTR(SObject) so = study->FindComponent(theID);
index 7a5694965cd6603976a016453e9b7f60c08df284..42e74cc6496a71dc2a5759e83568b47cb414d01d 100644 (file)
@@ -121,6 +121,16 @@ public:
    */
   bool isDumpPython();  
 
+  /*!
+    Returns encoded entry that is a relative entry for the component
+   */
+  std::string encodeEntry(const std::string& entry, const std::string& compName);
+
+  /*!
+    Returns decoded entry that is an absolute entry
+   */
+  std::string decodeEntry(const std::string& entry);
+
 
   /*!
     Returns an ID of the last save point