]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0019929: EDF 772 SMESH : script readability
authoreap <eap@opencascade.com>
Tue, 24 Feb 2009 14:52:58 +0000 (14:52 +0000)
committereap <eap@opencascade.com>
Tue, 24 Feb 2009 14:52:58 +0000 (14:52 +0000)
+
+  operator char*() const {
+    return (char*)c_str();
+  }

src/SMESH/SMESH_Comment.hxx

index 14d42faf466169285ea79950402f1e3d88df12c6..d1d32b9e68e24efc769dbfd555039e03bf4e92c8 100644 (file)
@@ -62,6 +62,10 @@ public :
     this->string::operator=( _s.str() );
     return *this ;
   }
+
+  operator char*() const {
+    return (char*)c_str();
+  }
 };