#include <PyNativeTypeExtractor.h>
Definition at line 67 of file PyNativeTypeExtractor.h.
◆ ~IPyTypeVisitor()
virtual Mantid::PythonInterface::IPyTypeVisitor::~IPyTypeVisitor |
( |
| ) |
|
|
virtualdefault |
Dynamically dispatches to overloaded operator depending on the underlying type.
This also handles cases such as std::vector<T>, or nested lists, which will be flattened by invoking the operator each time for each elem. This assumes all element in a list matches the first element type found in that list, where this is not true, the element will be cast to the first element type.
Note: you will need to include using Mantid::PythonInterface::IPyTypeVisitor::operator();
◆ applyVectorProp()
template<typename ScalarT >
◆ operator()() [1/10]
virtual void Mantid::PythonInterface::IPyTypeVisitor::operator() |
( |
bool |
value | ) |
const |
|
pure virtual |
◆ operator()() [2/10]
virtual void Mantid::PythonInterface::IPyTypeVisitor::operator() |
( |
double |
value | ) |
const |
|
pure virtual |
◆ operator()() [3/10]
virtual void Mantid::PythonInterface::IPyTypeVisitor::operator() |
( |
long |
value | ) |
const |
|
pure virtual |
◆ operator()() [4/10]
◆ operator()() [5/10]
virtual void Mantid::PythonInterface::IPyTypeVisitor::operator() |
( |
std::string |
| ) |
const |
|
pure virtual |
◆ operator()() [6/10]
virtual void Mantid::PythonInterface::IPyTypeVisitor::operator() |
( |
std::vector< bool > |
| ) |
const |
|
pure virtual |
◆ operator()() [7/10]
virtual void Mantid::PythonInterface::IPyTypeVisitor::operator() |
( |
std::vector< double > |
| ) |
const |
|
pure virtual |
◆ operator()() [8/10]
virtual void Mantid::PythonInterface::IPyTypeVisitor::operator() |
( |
std::vector< long > |
| ) |
const |
|
pure virtual |
◆ operator()() [9/10]
◆ operator()() [10/10]
virtual void Mantid::PythonInterface::IPyTypeVisitor::operator() |
( |
std::vector< std::string > |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: