#include <PythonType.hxx>
Definition at line 43 of file PythonType.hxx.
Py::PythonType::PythonType | ( | size_t | base_size, | |
int | itemsize, | |||
const char * | default_name | |||
) |
Definition at line 426 of file Python2/cxx_extensions.cxx.
References Py::_Type_Type(), py_object_initializer, Py::standard_dealloc(), and table.
Py::PythonType::~PythonType | ( | ) | [virtual] |
Definition at line 506 of file Python2/cxx_extensions.cxx.
References buffer_table, mapping_table, number_table, sequence_table, and table.
PythonType & Py::PythonType::dealloc | ( | void(*)(PyObject *) | f | ) |
Definition at line 572 of file Python2/cxx_extensions.cxx.
References SketcherExample::f, and table.
PythonType & Py::PythonType::doc | ( | const char * | d | ) |
Definition at line 531 of file Python2/cxx_extensions.cxx.
References table.
const char * Py::PythonType::getDoc | ( | ) | const |
Definition at line 537 of file Python2/cxx_extensions.cxx.
References table.
const char * Py::PythonType::getName | ( | ) | const |
Definition at line 526 of file Python2/cxx_extensions.cxx.
References table.
void Py::PythonType::init_buffer | ( | ) | [protected] |
void Py::PythonType::init_mapping | ( | ) | [protected] |
void Py::PythonType::init_number | ( | ) | [protected] |
void Py::PythonType::init_sequence | ( | ) | [protected] |
PythonType & Py::PythonType::name | ( | const char * | nam | ) |
Definition at line 520 of file Python2/cxx_extensions.cxx.
References table.
bool Py::PythonType::readyType | ( | ) |
Definition at line 322 of file Python2/cxx_extensions.cxx.
References table.
PythonType & Py::PythonType::set_methods | ( | PyMethodDef * | methods | ) |
Definition at line 560 of file Python2/cxx_extensions.cxx.
References table.
Referenced by Py::PythonClass< PythonBaseClass >::add_method().
PythonType& Py::PythonType::set_tp_dealloc | ( | void(*)(PyObject *) | tp_dealloc | ) |
PythonType & Py::PythonType::set_tp_init | ( | int(*)(PyObject *self, PyObject *args, PyObject *kwds) | tp_init | ) |
Definition at line 548 of file Python2/cxx_extensions.cxx.
References table.
Referenced by Py::PythonClass< PythonBaseClass >::behaviors().
PythonType & Py::PythonType::set_tp_new | ( | PyObject *(*)(PyTypeObject *subtype, PyObject *args, PyObject *kwds) | tp_new | ) |
Definition at line 554 of file Python2/cxx_extensions.cxx.
References table.
Referenced by Py::PythonClass< PythonBaseClass >::behaviors().
PythonType & Py::PythonType::supportBufferType | ( | void | ) |
Definition at line 407 of file Python2/cxx_extensions.cxx.
References Py::buffer_getreadbuffer_handler(), Py::buffer_getsegcount_handler(), Py::buffer_getwritebuffer_handler(), buffer_table, and table.
PythonType & Py::PythonType::supportCall | ( | void | ) |
Definition at line 640 of file Python2/cxx_extensions.cxx.
References Py::call_handler(), and table.
PythonType & Py::PythonType::supportClass | ( | void | ) |
Definition at line 566 of file Python2/cxx_extensions.cxx.
References table.
Referenced by Py::PythonClass< PythonBaseClass >::behaviors().
PythonType & Py::PythonType::supportCompare | ( | void | ) |
Definition at line 608 of file Python2/cxx_extensions.cxx.
References Py::compare_handler(), and table.
PythonType & Py::PythonType::supportGetattr | ( | void | ) |
Definition at line 584 of file Python2/cxx_extensions.cxx.
References Py::getattr_handler(), and table.
Referenced by Py::PythonExtension< StdMeshers_Deflection1DPy >::PythonExtension().
PythonType & Py::PythonType::supportGetattro | ( | void | ) |
Definition at line 596 of file Python2/cxx_extensions.cxx.
References Py::getattro_handler(), and table.
Referenced by Py::PythonClass< PythonBaseClass >::behaviors().
PythonType & Py::PythonType::supportHash | ( | void | ) |
Definition at line 634 of file Python2/cxx_extensions.cxx.
References Py::hash_handler(), and table.
PythonType & Py::PythonType::supportIter | ( | void | ) |
Definition at line 646 of file Python2/cxx_extensions.cxx.
References Py::iter_handler(), Py::iternext_handler(), and table.
PythonType & Py::PythonType::supportMappingType | ( | void | ) |
Definition at line 349 of file Python2/cxx_extensions.cxx.
References Py::mapping_ass_subscript_handler(), Py::mapping_length_handler(), Py::mapping_subscript_handler(), mapping_table, and table.
PythonType & Py::PythonType::supportNumberType | ( | void | ) |
Definition at line 363 of file Python2/cxx_extensions.cxx.
References Py::number_absolute_handler(), Py::number_add_handler(), Py::number_and_handler(), Py::number_divide_handler(), Py::number_divmod_handler(), Py::number_float_handler(), Py::number_hex_handler(), Py::number_int_handler(), Py::number_invert_handler(), Py::number_long_handler(), Py::number_lshift_handler(), Py::number_multiply_handler(), Py::number_negative_handler(), Py::number_nonzero_handler(), Py::number_oct_handler(), Py::number_or_handler(), Py::number_positive_handler(), Py::number_power_handler(), Py::number_remainder_handler(), Py::number_rshift_handler(), Py::number_subtract_handler(), number_table, Py::number_xor_handler(), and table.
PythonType & Py::PythonType::supportPrint | ( | void | ) |
Definition at line 578 of file Python2/cxx_extensions.cxx.
References Py::print_handler(), and table.
PythonType & Py::PythonType::supportRepr | ( | void | ) |
Definition at line 622 of file Python2/cxx_extensions.cxx.
References Py::repr_handler(), and table.
PythonType& Py::PythonType::supportRichCompare | ( | void | ) |
PythonType & Py::PythonType::supportSequenceType | ( | void | ) |
Definition at line 327 of file Python2/cxx_extensions.cxx.
References Py::sequence_ass_item_handler(), Py::sequence_ass_slice_handler(), Py::sequence_concat_handler(), Py::sequence_item_handler(), Py::sequence_length_handler(), Py::sequence_repeat_handler(), Py::sequence_slice_handler(), sequence_table, and table.
PythonType & Py::PythonType::supportSetattr | ( | void | ) |
Definition at line 590 of file Python2/cxx_extensions.cxx.
References Py::setattr_handler(), and table.
PythonType & Py::PythonType::supportSetattro | ( | void | ) |
Definition at line 602 of file Python2/cxx_extensions.cxx.
References Py::setattro_handler(), and table.
Referenced by Py::PythonClass< PythonBaseClass >::behaviors().
PythonType & Py::PythonType::supportStr | ( | void | ) |
Definition at line 628 of file Python2/cxx_extensions.cxx.
References Py::str_handler(), and table.
PyTypeObject * Py::PythonType::type_object | ( | ) | const |
Definition at line 515 of file Python2/cxx_extensions.cxx.
References table.
Referenced by Py::PythonClass< PythonBaseClass >::type_object(), and Py::PythonExtension< StdMeshers_Deflection1DPy >::type_object().
PyBufferProcs* Py::PythonType::buffer_table [protected] |
Definition at line 103 of file PythonType.hxx.
Referenced by supportBufferType(), and ~PythonType().
PyMappingMethods* Py::PythonType::mapping_table [protected] |
Definition at line 101 of file PythonType.hxx.
Referenced by supportMappingType(), and ~PythonType().
PyNumberMethods* Py::PythonType::number_table [protected] |
Definition at line 102 of file PythonType.hxx.
Referenced by supportNumberType(), and ~PythonType().
PySequenceMethods* Py::PythonType::sequence_table [protected] |
Definition at line 100 of file PythonType.hxx.
Referenced by supportSequenceType(), and ~PythonType().
PyTypeObject* Py::PythonType::table [protected] |
Definition at line 99 of file PythonType.hxx.
Referenced by dealloc(), doc(), getDoc(), getName(), name(), PythonType(), readyType(), set_methods(), set_tp_init(), set_tp_new(), supportBufferType(), supportCall(), supportClass(), supportCompare(), supportGetattr(), supportGetattro(), supportHash(), supportIter(), supportMappingType(), supportNumberType(), supportPrint(), supportRepr(), supportSequenceType(), supportSetattr(), supportSetattro(), supportStr(), type_object(), and ~PythonType().