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
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
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
LHCb
Gaudi
Merge requests
!96
Allow ADL lookup of parse and toStream
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Allow ADL lookup of parse and toStream
allow-adl-parse-toStream
into
future
Overview
3
Commits
1
Pipelines
0
Changes
1
Merged
Gerhard Raven
requested to merge
allow-adl-parse-toStream
into
future
8 years ago
Overview
3
Commits
1
Pipelines
0
Changes
1
Expand
cherry pick
gaudi/Gaudi!242 (merged)
into future
0
0
Merge request reports
Compare
future
future (base)
and
latest version
latest version
7fb4133f
1 commit,
8 years ago
1 file
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
GaudiKernel/GaudiKernel/Property.h
+
4
−
2
Options
@@ -156,7 +156,8 @@ namespace Gaudi
inline
TYPE
fromString
(
const
std
::
string
&
s
)
{
TYPE
tmp
;
if
(
!
Gaudi
::
Parsers
::
parse
(
tmp
,
s
).
isSuccess
()
)
{
using
Gaudi
::
Parsers
::
parse
;
if
(
!
parse
(
tmp
,
s
).
isSuccess
()
)
{
throw
std
::
invalid_argument
(
"cannot parse '"
+
s
+
"' to "
+
System
::
typeinfoName
(
typeid
(
TYPE
)
)
);
}
return
tmp
;
@@ -615,7 +616,8 @@ namespace Gaudi
void
toStream
(
std
::
ostream
&
out
)
const
override
{
m_handlers
.
useReadHandler
(
*
this
);
Utils
::
toStream
(
m_value
,
out
);
using
Utils
::
toStream
;
toStream
(
m_value
,
out
);
}
};
Loading