1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-04-11 03:20:46 +01: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 * * FitInterface implementation *
******************************************************************************/ ******************************************************************************/
// copy object (not as a constructor to be accessed from derived class) ////////
void FitInterface::copyInterface(const FitInterface &d)
{
*this = d;
}
// add dimensions ////////////////////////////////////////////////////////////// // add dimensions //////////////////////////////////////////////////////////////
void FitInterface::addXDim(const string name, const Index nData, void FitInterface::addXDim(const string name, const Index nData,

View File

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