-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <ExchangePlugin_Dump.h>
#include <ExchangePlugin_ImportFeature.h>
#include <ExchangePlugin_ExportFeature.h>
+#include <ExchangePlugin_ImportPart.h>
+#include <ExchangePlugin_ExportPart.h>
+#include <ExchangePlugin_Import.h>
#include <ExchangePlugin_Validators.h>
#include <Config_PropManager.h>
new ExchangePlugin_ImportFormatValidator);
aFactory->registerValidator("ExchangePlugin_ExportFormat",
new ExchangePlugin_ExportFormatValidator);
+ aFactory->registerValidator("ExchangePlugin_InHistory",
+ new ExchangePlugin_InHistoryValidator);
}
FeaturePtr ExchangePlugin_Plugin::createFeature(std::string theFeatureID)
{
if (theFeatureID == ExchangePlugin_ImportFeature::ID()) {
return FeaturePtr(new ExchangePlugin_ImportFeature);
+ } else
+ if (theFeatureID == ExchangePlugin_Import_ImageFeature::ID()) {
+ return FeaturePtr(new ExchangePlugin_Import_ImageFeature);
} else
if (theFeatureID == ExchangePlugin_ExportFeature::ID()) {
return FeaturePtr(new ExchangePlugin_ExportFeature);
} else
+ if (theFeatureID == ExchangePlugin_ImportPart::ID()) {
+ return FeaturePtr(new ExchangePlugin_ImportPart);
+ } else
+ if (theFeatureID == ExchangePlugin_ExportPart::ID()) {
+ return FeaturePtr(new ExchangePlugin_ExportPart);
+ } else
if (theFeatureID == ExchangePlugin_Dump::ID()) {
return FeaturePtr(new ExchangePlugin_Dump);
+ } else
+ if (theFeatureID == ExchangePlugin_Import::ID()) {
+ return FeaturePtr(new ExchangePlugin_Import);
+ } else
+ if (theFeatureID == ExchangePlugin_Import_Image::ID()) {
+ return FeaturePtr(new ExchangePlugin_Import_Image);
}
// feature of such kind is not found
return FeaturePtr();