1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

method to copy FitInterface

This commit is contained in:
Antonin Portelli 2016-03-16 18:33:30 +00:00
parent 313a730bb2
commit 1e874ebb04
2 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,11 @@ using namespace Latan;
/******************************************************************************
* FitInterface implementation *
******************************************************************************/
// copy object (not as a constructor to be accessed from derived class) ////////
void FitInterface::copyInterface(const FitInterface &d)
{
*this = d;
}
// add dimensions //////////////////////////////////////////////////////////////
void FitInterface::addXDim(const string name, const Index nData,

View File

@ -54,6 +54,8 @@ public:
FitInterface(void) = default;
// destructor
virtual ~FitInterface(void) = default;
// copy object (not as a constructor to be accessed from derived class)
void copyInterface(const FitInterface &d);
// add dimensions
void addXDim(const std::string name, const Index nData,
const bool isExact = false);