Salome HOME
[MEDCalc] Presentation removal
[modules/med.git] / src / MEDCalc / cmp / MEDPresentation.cxx
index 10fe56a4425702578fde7b64baed85992840e088..aa5075387ef6cbbe09c863b4e52aed794a9d44af 100644 (file)
@@ -24,7 +24,7 @@
 #include "MEDCouplingRefCountObject.hxx"
 #include <iostream>
 
-MEDPresentation::MEDPresentation(MEDPresentation::TypeID fieldHandlerId, std::string name)
+MEDPresentation::MEDPresentation(MEDPresentation::TypeID fieldHandlerId, const std::string& name)
     : _fieldHandlerId(fieldHandlerId), _pipeline(0), _display(0), _properties()
 {
   MEDCALC::MEDDataManager_ptr dataManager(MEDFactoryClient::getDataManager());
@@ -45,6 +45,12 @@ MEDPresentation::MEDPresentation(MEDPresentation::TypeID fieldHandlerId, std::st
   setProperty("name", name);
 }
 
+MEDPresentation::~MEDPresentation()
+{
+  std::cout << "###TODO#### ~MEDPresentation: clear pipeline\n";
+  std::cout << "###TODO#### ~MEDPresentation: clear display\n";
+}
+
 void
 MEDPresentation::generatePipeline()
 {