Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
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
mantidproject
mantid
Commits
5776ebbd
Commit
5776ebbd
authored
6 years ago
by
Robert Applin
Browse files
Options
Downloads
Patches
Plain Diff
Apply clang format patch Refs #21465
parent
da77aa25
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp
+4
-3
4 additions, 3 deletions
Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp
with
4 additions
and
3 deletions
Framework/PythonInterface/mantid/api/src/Exports/Sample.cpp
+
4
−
3
View file @
5776ebbd
...
@@ -27,8 +27,9 @@ void export_Sample() {
...
@@ -27,8 +27,9 @@ void export_Sample() {
.
def
(
"getName"
,
&
Sample
::
getName
,
.
def
(
"getName"
,
&
Sample
::
getName
,
return_value_policy
<
copy_const_reference
>
(),
arg
(
"self"
),
return_value_policy
<
copy_const_reference
>
(),
arg
(
"self"
),
"Returns the string name of the sample"
)
"Returns the string name of the sample"
)
.
def
(
"getOrientedLattice"
,
(
const
OrientedLattice
&
(
Sample
::*
)()
const
)
&
.
def
(
"getOrientedLattice"
,
Sample
::
getOrientedLattice
,
(
const
OrientedLattice
&
(
Sample
::*
)()
const
)
&
Sample
::
getOrientedLattice
,
arg
(
"self"
),
return_value_policy
<
reference_existing_object
>
(),
arg
(
"self"
),
return_value_policy
<
reference_existing_object
>
(),
"Get the oriented lattice for this sample"
)
"Get the oriented lattice for this sample"
)
.
def
(
"hasOrientedLattice"
,
&
Sample
::
hasOrientedLattice
,
arg
(
"self"
),
.
def
(
"hasOrientedLattice"
,
&
Sample
::
hasOrientedLattice
,
arg
(
"self"
),
...
@@ -73,6 +74,6 @@ void export_Sample() {
...
@@ -73,6 +74,6 @@ void export_Sample() {
// -------------------------------------
// -------------------------------------
.
def
(
"__len__"
,
&
Sample
::
size
,
arg
(
"self"
),
.
def
(
"__len__"
,
&
Sample
::
size
,
arg
(
"self"
),
"Gets the number of samples in this collection"
)
"Gets the number of samples in this collection"
)
.
def
(
"__getitem__"
,
&
Sample
::
operator
[],
(
arg
(
"self"
),
arg
(
"index"
)),
.
def
(
"__getitem__"
,
&
Sample
::
operator
[],(
arg
(
"self"
),
arg
(
"index"
)),
return_internal_reference
<>
());
return_internal_reference
<>
());
}
}
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