Properties:
headers -- list of strings that name the header files needed by this
object.
include_dirs -- list of directories where the header files can be found.
libraries -- list of libraries needed to link to when compiling
extension.
library_dirs -- list of directories to search for libraries.
support_code -- list of strings. Each string is a subroutine needed
by the type. Functions that are used in the conversion
between Python and C++ files are examples of these.
Methods:
type_match(value) returns 1 if this class is used to represent type
specification for value.
type_spec(name, value) returns a new object (of this class) that is
used to produce C++ code for value.
declaration_code() returns C++ code fragment for type declaration and
conversion of python object to C++ object.
cleanup_code() returns C++ code fragment for cleaning up after the
variable after main C++ code fragment has executed.
Attributes
Method summary
Methods
- build_information(self)
- cleanup_code(self)
- declaration_code(self, templatize = 0)
- init_flag(self)
- local_dict_code(self)
- pointer(self)
- py_pointer(self)
- py_reference(self)
- py_variable(self)
- reference(self)
- retrieve_py_variable(self, inline = 0)
- set_compiler(self, compiler)
- type_match(self, value)
- type_spec(self, name, value)
- variable(self)
- variable_as_string(self)