Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
a6be23a1
Commit
a6be23a1
authored
3 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
fct -> protected
parent
5f837a01
No related branches found
No related tags found
1 merge request
!51
simplify creation of UnitConverter%s
Pipeline
#35629
passed
3 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Device/Unit/IUnitConverter.h
+1
-1
1 addition, 1 deletion
Device/Unit/IUnitConverter.h
auto/Wrap/doxygenDevice.i
+0
-3
0 additions, 3 deletions
auto/Wrap/doxygenDevice.i
with
1 addition
and
4 deletions
Device/Unit/IUnitConverter.h
+
1
−
1
View file @
a6be23a1
...
...
@@ -58,7 +58,6 @@ public:
virtual
std
::
vector
<
Axes
::
Units
>
availableUnits
()
const
=
0
;
virtual
Axes
::
Units
defaultUnits
()
const
=
0
;
Axes
::
Units
substituteDefaultUnits
(
Axes
::
Units
units
)
const
;
#ifndef SWIG
virtual
std
::
unique_ptr
<
IAxis
>
createConvertedAxis
(
size_t
i_axis
,
Axes
::
Units
units
)
const
=
0
;
...
...
@@ -69,6 +68,7 @@ public:
#endif // SWIG
protected:
Axes
::
Units
substituteDefaultUnits
(
Axes
::
Units
units
)
const
;
#ifndef SWIG
[[
noreturn
]]
void
throwUnitsError
(
std
::
string
method
,
std
::
vector
<
Axes
::
Units
>
available
)
const
;
#endif // SWIG
...
...
This diff is collapsed.
Click to expand it.
auto/Wrap/doxygenDevice.i
+
0
−
3
View file @
a6be23a1
...
...
@@ -1495,9 +1495,6 @@ Returns zero-valued output data array in specified units.
%
feature
(
"
docstring
"
)
IUnitConverter
::
defaultUnits
"
virtual Axes::Units IUnitConverter::defaultUnits() const =0
"
;
%
feature
(
"
docstring
"
)
IUnitConverter
::
substituteDefaultUnits
"
Axes::Units IUnitConverter::substituteDefaultUnits(Axes::Units units) const
"
;
%
feature
(
"
docstring
"
)
IUnitConverter
::
createConvertedAxis
"
virtual std::unique_ptr<IAxis> IUnitConverter::createConvertedAxis(size_t i_axis, Axes::Units units) const =0
"
;
...
...
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