Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
Public Types | |
using | NodeType = py::class_< Node< T >, boost::noncopyable > |
Static Public Member Functions | |
template<typename To > | |
static void | defCastOperations (NodeType &node) |
template<typename Y > | |
static void | specialized (NodeType &node, void *) |
template<typename Y > | |
static void | specialized (NodeType &node, typename std::enable_if< std::is_floating_point< Y >::value >::type *=nullptr) |
template<typename Y > | |
static void | specialized (NodeType &node, typename std::enable_if< std::is_same< Y, bool >::value >::type *=nullptr) |
template<typename Y > | |
static void | specialized (NodeType &node, typename std::enable_if< std::is_integral< Y >::value &&!std::is_same< Y, bool >::value >::type *=nullptr) |
static void | general (NodeType &node) |
static void | Do () |
Definition at line 65 of file Module.cpp.
using Pyston::RegisterNode< T >::NodeType = py::class_<Node<T>, boost::noncopyable> |
Definition at line 67 of file Module.cpp.
|
inlinestatic |
Define operations where the other value has a different type (To) i.e. if add is called on a boolean, and the other value (To) is a float, self has to be upcasted
Definition at line 75 of file Module.cpp.
References Pyston::makeBinaryFunction().
|
inlinestatic |
Definition at line 187 of file Module.cpp.
References Pyston::RegisterNode< T >::general().
Referenced by Pyston::BOOST_PYTHON_MODULE().
|
inlinestatic |
Definition at line 152 of file Module.cpp.
References AS_BOOL_METHOD, Pyston::makeBinaryFunction(), and Pyston::makeFunction().
Referenced by Pyston::RegisterNode< T >::Do().
|
inlinestatic |
Methods for floating point types
Definition at line 96 of file Module.cpp.
References Pyston::makeBinaryFunction(), and Pyston::makeFunction().
|
inlinestatic |
Methods for integral types, except bool
Definition at line 143 of file Module.cpp.
References Pyston::makeBinaryFunction(), and Pyston::makeFunction().
|
inlinestatic |
Methods for the boolean type
Definition at line 132 of file Module.cpp.
|
static |
Methods for specific types