My Project
|
This template class does conversion of Singular objects to python objects on compile-time. More...
Public Member Functions | |
PythonCastStatic (void *value) | |
PythonCastStatic (leftv value) | |
Public Member Functions inherited from PythonObject | |
PythonObject () | |
PythonObject (ptr_type ptr) | |
ptr_type | check_context (ptr_type ptr) const |
self | operator() (int op) const |
Unary operations. More... | |
self | operator() (int op, const self &arg) const |
Binary and n-ary operations. More... | |
self | operator() (int op, const self &arg1, const self &arg2) const |
Ternary operations. More... | |
self | operator[] (const self &idx) const |
Get item. More... | |
self | operator[] (long idx) const |
operator const ptr_type () const | |
Get actual PyObject*. More... | |
char * | repr () const |
Get representative as C-style string. More... | |
char * | str () const |
Extract C-style string. More... | |
Py_ssize_t | size () const |
BOOLEAN | assign_to (leftv result) |
void | import_as (const char *name) const |
int | compare (int op, const self &arg) const |
self | attr (const self &arg) const |
self | del_attr (const self &arg) const |
Private Types | |
typedef PythonCastStatic | self |
Private Member Functions | |
ptr_type | get (ptr_type value) |
ptr_type | get (long value) |
ptr_type | get (int value) |
ptr_type | get (const char *value) |
ptr_type | get (char *value) |
ptr_type | get (intvec *value) |
ptr_type | get (lists value) |
Additional Inherited Members | |
Public Types inherited from PythonObject | |
typedef PyObject * | ptr_type |
Protected Member Functions inherited from PythonObject | |
self | args2list (const self &args) const |
BOOLEAN | handle_exception () const |
void | append_iter (self iterator) |
int | py_opid (int op) const |
This template class does conversion of Singular objects to python objects on compile-time.
Definition at line 303 of file pyobject.cc.
|
private |
Definition at line 305 of file pyobject.cc.
|
inline |
Definition at line 308 of file pyobject.cc.
|
inline |
Definition at line 311 of file pyobject.cc.
|
inlineprivate |
Definition at line 319 of file pyobject.cc.
|
inlineprivate |
Definition at line 318 of file pyobject.cc.
|
inlineprivate |
Definition at line 317 of file pyobject.cc.
|
inlineprivate |
Definition at line 326 of file pyobject.cc.
|
inlineprivate |
Definition at line 379 of file pyobject.cc.
|
inlineprivate |
Definition at line 316 of file pyobject.cc.
|
inlineprivate |
Definition at line 315 of file pyobject.cc.