Go to the source code of this file.
|
#define | VTOPERATOR_WRAP_PYTYPE_BASE(op, method, pytype, isRightVer) |
|
#define | VTOPERATOR_WRAP_PYTYPE(op, method, pytype) VTOPERATOR_WRAP_PYTYPE_BASE(op, method, pytype, false) |
|
#define | VTOPERATOR_WRAP_PYTYPE_R(op, method, pytype) VTOPERATOR_WRAP_PYTYPE_BASE(op, method, pytype, true) |
|
#define | VTOPERATOR_WRAP(lmethod, rmethod) |
|
#define | VTOPERATOR_WRAP_NONCOMM(lmethod, rmethod) |
|
#define | VTOPERATOR_WRAPDECLARE_BASE(op, method, rettype) |
|
#define | VTOPERATOR_WRAPDECLARE(op, lmethod, rmethod) |
|
#define | VTOPERATOR_WRAP_PYTYPE_BOOL(func, pytype, op) |
|
#define | VTOPERATOR_WRAP_BOOL(func, op) |
|
#define VTOPERATOR_WRAP |
( |
|
lmethod, |
|
|
|
rmethod |
|
) |
| |
Value:
#define VTOPERATOR_WRAP_PYTYPE(op, method, pytype)
Definition at line 82 of file pyOperators.h.
#define VTOPERATOR_WRAP_BOOL |
( |
|
func, |
|
|
|
op |
|
) |
| |
Value:
#define VTOPERATOR_WRAP_PYTYPE_BOOL(func, pytype, op)
Definition at line 118 of file pyOperators.h.
#define VTOPERATOR_WRAP_NONCOMM |
( |
|
lmethod, |
|
|
|
rmethod |
|
) |
| |
Value:
#define VTOPERATOR_WRAP_PYTYPE(op, method, pytype)
#define VTOPERATOR_WRAP_PYTYPE_R(op, method, pytype)
Definition at line 89 of file pyOperators.h.
#define VTOPERATOR_WRAP_PYTYPE_BASE |
( |
|
op, |
|
|
|
method, |
|
|
|
pytype, |
|
|
|
isRightVer |
|
) |
| |
Value:template <typename T> static \
VtArray<T> method##pytype(
VtArray<T> vec, pytype obj) { \
if (length != vec.size()) {
\
#method); \
} \
VtArray<T> ret(vec.size());
\
if (!extract<T>(obj[i]).check())
\
(T)extract<T>(obj[i]), vec[i]); \
vec[i], (T)extract<T>(obj[i])); \
} \
} \
return ret; \
}
GLuint GLsizei GLsizei * length
TF_API void TfPyThrowValueError(const char *msg)
* for(int i=0;i< n_subtasks;++i)*tasks.push(pool-> push(myfunc))
Definition at line 46 of file pyOperators.h.
#define VTOPERATOR_WRAP_PYTYPE_BOOL |
( |
|
func, |
|
|
|
pytype, |
|
|
|
op |
|
) |
| |
Value:VTOPERATOR_WRAP_PYTYPE_BOOL_BASE(
func, \
(vec[i]
op (T)extract<T>(obj[i])) ) \
VTOPERATOR_WRAP_PYTYPE_BOOL_BASE(
func, \
((T)extract<T>(obj[i])
op vec[i]) )
Definition at line 110 of file pyOperators.h.
#define VTOPERATOR_WRAPDECLARE |
( |
|
op, |
|
|
|
lmethod, |
|
|
|
rmethod |
|
) |
| |
Value:
.def(#rmethod,rmethod##tuple<Type>) \
.def(#rmethod,rmethod##list<Type>)
#define VTOPERATOR_WRAPDECLARE_BASE(op, method, rettype)
Definition at line 103 of file pyOperators.h.
#define VTOPERATOR_WRAPDECLARE_BASE |
( |
|
op, |
|
|
|
method, |
|
|
|
rettype |
|
) |
| |
Value:
.def(#method,method##tuple<rettype>) \
.def(#method,method##list<rettype>)
Definition at line 96 of file pyOperators.h.