64 methodStr_ {Utils::traits_cast<Utils::ci_char_traits>(methodStr)} {}
67 if (methodStr_ ==
"Swap")
68 return std::make_unique<SwapMethod>(info, forceMan);
70 else if (methodStr_ ==
"NIVS")
71 return std::make_unique<NIVSMethod>(info, forceMan);
73 else if (methodStr_ ==
"SPF")
74 return std::make_unique<SPFMethod>(info, forceMan);
77 return std::make_unique<VSSMethod>(info, forceMan);
81 const Utils::ci_string methodStr_;