#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());
setProperty("name", name);
}
+MEDPresentation::~MEDPresentation()
+{
+ std::cout << "###TODO#### ~MEDPresentation: clear pipeline\n";
+ std::cout << "###TODO#### ~MEDPresentation: clear display\n";
+}
+
void
MEDPresentation::generatePipeline()
{