Skip to content
Snippets Groups Projects
Commit f6a5228f authored by Markus FRANK's avatar Markus FRANK Committed by MarkusFrankATcernch
Browse files

Support for conditions with non-default ctor

parent 82edcf3d
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
// Framework include files // Framework include files
#include "DD4hep/Grammar.h" #include "DD4hep/Grammar.h"
#include "DD4hep/Printout.h"
/// Namespace for the AIDA detector description toolkit /// Namespace for the AIDA detector description toolkit
namespace dd4hep { namespace dd4hep {
......
//==========================================================================
// AIDA Detector description implementation
//--------------------------------------------------------------------------
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
// All rights reserved.
//
// For the licensing terms see $DD4hepINSTALL/LICENSE.
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
//
// Author : M.Frank
//
//==========================================================================
// Framework include files
#include "ConditionExampleObjects.h"
using namespace dd4hep::ConditionExamples;
NonDefaultCtorCond::NonDefaultCtorCond(int aa, int bb, int cc)
: a(aa), b(bb), c(cc), d(0)
{
}
NonDefaultCtorCond::~NonDefaultCtorCond() {
}
void NonDefaultCtorCond::set(int val) {
d = val;
}
#include "DD4hep/detail/Grammar_unparsed.h"
static auto s_registry = dd4hep::GrammarRegistry::pre_note<NonDefaultCtorCond>();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment