Skip to content

Commit

Permalink
Merge pull request #24605 from mantidproject/RebinParamsValidator_api…
Browse files Browse the repository at this point in the history
…_docs

Add Python API docs for RebinParamsValidator
  • Loading branch information
martyngigg committed Jan 28, 2019
2 parents a2535a6 + a3accff commit 12bf030
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ void export_RebinParamsValidator() {
.def("__init__",
make_constructor(
&createRebinParamsValidator, default_call_policies(),
(arg("AllowEmpty") = false, arg("AllowRange") = false)));
(arg("AllowEmpty") = false, arg("AllowRange") = false)),
"Constructs a validator verifying that the given float array is "
"valid sequence of rebinning parameters.");
}
15 changes: 15 additions & 0 deletions docs/source/api/python/mantid/kernel/RebinParamsValidator.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
======================
RebinParamsValidator
======================

This is a Python binding to the C++ class Mantid::Kernel::RebinParamsValidator.

*bases:* :py:obj:`mantid.kernel.IValidator`

.. module:`mantid.kernel`
.. autoclass:: mantid.kernel.RebinParamsValidator
:members:
:undoc-members:
:inherited-members:

0 comments on commit 12bf030

Please sign in to comment.