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

#include <numpy-type.hpp>

Static Public Member Functions

static NumpyTypegetInstance ()
 
static const PyTypeObject * getNumpyArrayType ()
 
static bp::object getNumpyType ()
 
static bp::object make (PyArrayObject *pyArray, bool copy=false)
 
static bp::object make (PyObject *pyObj, bool copy=false)
 
static void sharedMemory (const bool value)
 
static bool sharedMemory ()
 

Protected Member Functions

 NumpyType ()
 

Protected Attributes

bp::object NumpyArrayObject
 
PyTypeObject * NumpyArrayType
 
bp::object pyModule
 
bool shared_memory
 

Detailed Description

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

Constructor & Destructor Documentation

◆ NumpyType()

eigenpy::NumpyType::NumpyType ( )
protected

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

Member Function Documentation

◆ getInstance()

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

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

◆ getNumpyArrayType()

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

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

◆ getNumpyType()

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

◆ make() [1/2]

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

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

◆ make() [2/2]

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

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

◆ sharedMemory() [1/2]

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

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

◆ sharedMemory() [2/2]

bool eigenpy::NumpyType::sharedMemory ( )
static

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

Member Data Documentation

◆ NumpyArrayObject

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

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

◆ NumpyArrayType

PyTypeObject* eigenpy::NumpyType::NumpyArrayType
protected

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

◆ pyModule

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

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

◆ shared_memory

bool eigenpy::NumpyType::shared_memory
protected

Definition at line 72 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 Fri Jun 2 2023 02:10:27