Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gaudi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaudi
Gaudi
Commits
0c67da07
Commit
0c67da07
authored
7 years ago
by
Paul Seyfert
Browse files
Options
Downloads
Patches
Plain Diff
ensure base class definitions are picked up
parent
803048e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!590
make uncompiled exported headers compilable
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GaudiKernel/GaudiKernel/RefTable.h
+10
-4
10 additions, 4 deletions
GaudiKernel/GaudiKernel/RefTable.h
GaudiKernel/GaudiKernel/compose.h
+2
-0
2 additions, 0 deletions
GaudiKernel/GaudiKernel/compose.h
with
12 additions
and
4 deletions
GaudiKernel/GaudiKernel/RefTable.h
+
10
−
4
View file @
0c67da07
...
...
@@ -55,9 +55,9 @@ public:
*/
typedef
GaudiUtils
::
HashMap
<
const
void
*
,
EntryType
>
TableType
;
/// Definition of map iterator
typedef
TableType
::
iterator
iterator
;
typedef
typename
TableType
::
iterator
iterator
;
/// Definition of map iterator (CONST)
typedef
TableType
::
const_iterator
const_iterator
;
typedef
typename
TableType
::
const_iterator
const_iterator
;
/// Class id of the reference table
CLID
m_clid
;
...
...
@@ -138,11 +138,14 @@ template <class FROM, class TO>
class
RefTable1to1
:
public
RefTableBase
<
FROM
,
SmartRef
<
TO
>>
{
public:
using
EntryType
=
typename
RefTableBase
<
FROM
,
SmartRef
<
TO
>>::
EntryType
;
//using m_clid = typename RefTableBase<FROM, SmartRef<TO>>::m_clid;
/// Standard Constructor
RefTable1to1
(
const
CLID
&
clid
,
int
len
=
16
)
:
RefTableBase
<
FROM
,
SmartRef
<
TO
>>
(
clid
,
len
)
{}
/// Retrieve reference to class definition structure
virtual
const
CLID
&
clID
()
const
{
return
m_clid
;
}
virtual
const
CLID
&
clID
()
const
{
return
RefTableBase
<
FROM
,
SmartRef
<
TO
>>::
m_clid
;
}
/// Insert new Entry into Reference container
bool
insert
(
const
FROM
*
from
,
TO
*
to
)
{
return
insertMapElement
(
from
,
EntryType
(
to
)
);
}
/// Insert new Entry into Reference container
...
...
@@ -186,11 +189,14 @@ template <class FROM, class TO>
class
RefTable1toN
:
public
RefTableBase
<
FROM
,
SmartRefVector
<
TO
>>
{
public:
using
EntryType
=
typename
RefTableBase
<
FROM
,
SmartRefVector
<
TO
>>::
EntryType
;
//using m_clid = typename RefTableBase<FROM, SmartRefVector<TO>>::m_clid;
/// Standard Constructor
RefTable1toN
(
const
CLID
&
clid
,
int
len
=
16
)
:
RefTableBase
<
FROM
,
SmartRefVector
<
TO
>>
(
clid
,
len
)
{}
/// Retrieve reference to class definition structure
virtual
const
CLID
&
clID
()
const
{
return
m_clid
;
}
virtual
const
CLID
&
clID
()
const
{
return
RefTableBase
<
FROM
,
SmartRefVector
<
TO
>>::
m_clid
;
}
/// Insert new Entry into Reference container
bool
insert
(
const
FROM
*
from
,
TO
*
to
)
{
...
...
This diff is collapsed.
Click to expand it.
GaudiKernel/GaudiKernel/compose.h
+
2
−
0
View file @
0c67da07
#ifndef GAUDIKERNEL_COMPOSE_H
#define GAUDIKERNEL_COMPOSE_H
#include
<utility>
// std::forward, std::move (objects)
namespace
details
{
...
...
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