Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
eigenpy::NumpyType Struct Reference

#include <numpy-type.hpp>

Public Member Functions

 operator bp::object ()
 

Static Public Member Functions

static NumpyTypegetInstance ()
 
static const PyTypeObject * getNumpyArrayType ()
 
static const PyTypeObject * getNumpyMatrixType ()
 
static bp::object getNumpyType ()
 
static NP_TYPEgetType ()
 
static bool isArray ()
 
static bool isMatrix ()
 
static bp::object make (PyArrayObject *pyArray, bool copy=false)
 
static bp::object make (PyObject *pyObj, bool copy=false)
 
static void setNumpyType (bp::object &obj)
 
static void sharedMemory (const bool value)
 
static bool sharedMemory ()
 
static void switchToNumpyArray ()
 
static void switchToNumpyMatrix ()
 

Protected Member Functions

 NumpyType ()
 

Protected Attributes

bp::object CurrentNumpyType
 
NP_TYPE np_type
 
bp::object NumpyArrayObject
 
PyTypeObject * NumpyArrayType
 
bp::object NumpyMatrixObject
 
PyTypeObject * NumpyMatrixType
 
bp::object pyModule
 
bool shared_memory
 

Detailed Description

Definition at line 75 of file numpy-type.hpp.

Constructor & Destructor Documentation

eigenpy::NumpyType::NumpyType ( )
protected

Definition at line 99 of file numpy-type.cpp.

Member Function Documentation

NumpyType & eigenpy::NumpyType::getInstance ( )
static

Definition at line 13 of file numpy-type.cpp.

const PyTypeObject * eigenpy::NumpyType::getNumpyArrayType ( )
static

Definition at line 81 of file numpy-type.cpp.

const PyTypeObject * eigenpy::NumpyType::getNumpyMatrixType ( )
static

Definition at line 76 of file numpy-type.cpp.

bp::object eigenpy::NumpyType::getNumpyType ( )
static

Definition at line 71 of file numpy-type.cpp.

NP_TYPE & eigenpy::NumpyType::getType ( )
static

Definition at line 66 of file numpy-type.cpp.

bool eigenpy::NumpyType::isArray ( )
static

Definition at line 92 of file numpy-type.cpp.

bool eigenpy::NumpyType::isMatrix ( )
static

Definition at line 86 of file numpy-type.cpp.

bp::object eigenpy::NumpyType::make ( PyArrayObject *  pyArray,
bool  copy = false 
)
static

Definition at line 19 of file numpy-type.cpp.

bp::object eigenpy::NumpyType::make ( PyObject *  pyObj,
bool  copy = false 
)
static

Definition at line 22 of file numpy-type.cpp.

eigenpy::NumpyType::operator bp::object ( )
inline

Definition at line 80 of file numpy-type.hpp.

void eigenpy::NumpyType::setNumpyType ( bp::object &  obj)
static

Definition at line 35 of file numpy-type.cpp.

void eigenpy::NumpyType::sharedMemory ( const bool  value)
static

Definition at line 44 of file numpy-type.cpp.

bool eigenpy::NumpyType::sharedMemory ( )
static

Definition at line 49 of file numpy-type.cpp.

void eigenpy::NumpyType::switchToNumpyArray ( )
static

Definition at line 54 of file numpy-type.cpp.

void eigenpy::NumpyType::switchToNumpyMatrix ( )
static

Definition at line 60 of file numpy-type.cpp.

Member Data Documentation

bp::object eigenpy::NumpyType::CurrentNumpyType
protected

Definition at line 112 of file numpy-type.hpp.

NP_TYPE eigenpy::NumpyType::np_type
protected

Definition at line 120 of file numpy-type.hpp.

bp::object eigenpy::NumpyType::NumpyArrayObject
protected

Definition at line 118 of file numpy-type.hpp.

PyTypeObject* eigenpy::NumpyType::NumpyArrayType
protected

Definition at line 118 of file numpy-type.hpp.

bp::object eigenpy::NumpyType::NumpyMatrixObject
protected

Definition at line 116 of file numpy-type.hpp.

PyTypeObject* eigenpy::NumpyType::NumpyMatrixType
protected

Definition at line 116 of file numpy-type.hpp.

bp::object eigenpy::NumpyType::pyModule
protected

Definition at line 113 of file numpy-type.hpp.

bool eigenpy::NumpyType::shared_memory
protected

Definition at line 122 of file numpy-type.hpp.


The documentation for this struct was generated from the following files:


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Apr 17 2021 02:37:59