Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
f6a5228f
Commit
f6a5228f
authored
4 years ago
by
Markus FRANK
Committed by
MarkusFrankATcernch
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Support for conditions with non-default ctor
parent
82edcf3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DDCore/include/DD4hep/detail/Grammar_unparsed.h
+0
-1
0 additions, 1 deletion
DDCore/include/DD4hep/detail/Grammar_unparsed.h
examples/Conditions/src/NonDefaultCtorCond.cpp
+32
-0
32 additions, 0 deletions
examples/Conditions/src/NonDefaultCtorCond.cpp
with
32 additions
and
1 deletion
DDCore/include/DD4hep/detail/Grammar_unparsed.h
+
0
−
1
View file @
f6a5228f
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
examples/Conditions/src/NonDefaultCtorCond.cpp
0 → 100644
+
32
−
0
View file @
f6a5228f
//==========================================================================
// 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
>
();
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment