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
af444f73
Commit
af444f73
authored
9 years ago
by
Tom Perkins
Browse files
Options
Downloads
Patches
Plain Diff
Update documentation on how to declare a Property
re #15289
parent
dc6587a7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/source/concepts/Properties.rst
+4
-1
4 additions, 1 deletion
docs/source/concepts/Properties.rst
with
4 additions
and
1 deletion
docs/source/concepts/Properties.rst
+
4
−
1
View file @
af444f73
...
...
@@ -38,7 +38,10 @@ these options.
An ArrayProperty can be declared in a algorithm as follows:
``declareProperty(new ArrayProperty``\ \ ``(...));``
``declareProperty(Mantid::Kernel::make_unique<ArrayProperty>``\ \ ``(...));``
(note the use of ``make_unique`` rather than ``new``, as the algorithm takes
ownership of the property)
or, if creating using an already existing vector:
...
...
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