Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Term Paper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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
Philip Mueller
Term Paper
Commits
a8cd071b
Commit
a8cd071b
authored
5 years ago
by
Philip Mueller, HS
Browse files
Options
Downloads
Patches
Plain Diff
Added the clone function to the SampleCollection interface.
parent
22dc4733
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
code/cpp/pyyggdrasil/pyYggdrasil_sampleContainers.cpp
+5
-0
5 additions, 0 deletions
code/cpp/pyyggdrasil/pyYggdrasil_sampleContainers.cpp
with
5 additions
and
0 deletions
code/cpp/pyyggdrasil/pyYggdrasil_sampleContainers.cpp
+
5
−
0
View file @
a8cd071b
...
...
@@ -677,6 +677,11 @@ pyYggdrasil_sampleContainersWrapper(
py
::
arg
(
"mat"
),
py
::
arg
(
"view"
)
)
.
def
(
"clone"
,
[](
const
SampleCollection_t
&
sc
)
->
SampleCollection_t
{
return
sc
.
clone
();},
"This function performs a deep copy of *this."
" This function is usefull when writing generic code."
)
/*
...
...
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