|
Mantid
|
#include "MantidKernel/SpinStateValidator.h"#include "MantidKernel/TypedValidator.h"#include "MantidPythonInterface/core/TypedValidatorExporter.h"#include <boost/python/class.hpp>#include <boost/python/default_call_policies.hpp>#include <boost/python/list.hpp>#include <boost/python/make_constructor.hpp>Go to the source code of this file.
Functions | |
| std::shared_ptr< SpinStateValidator > | createSpinStateValidator (list allowedNumberOfSpins, const bool acceptSingleStates=false, const std::string ¶Indicator="0", const std::string &antiIndicator="1", const bool optional=false, const std::string &extraIndicator="") |
| void | export_SpinStateValidator () |
| std::shared_ptr< SpinStateValidator > createSpinStateValidator | ( | list | allowedNumberOfSpins, |
| const bool | acceptSingleStates = false, |
||
| const std::string & | paraIndicator = "0", |
||
| const std::string & | antiIndicator = "1", |
||
| const bool | optional = false, |
||
| const std::string & | extraIndicator = "" |
||
| ) |
Definition at line 22 of file SpinStateValidator.cpp.
Referenced by export_SpinStateValidator().
| void export_SpinStateValidator | ( | ) |
Definition at line 36 of file SpinStateValidator.cpp.
References createSpinStateValidator(), and Mantid::PythonInterface::TypedValidatorExporter< Type >::define().