Workspace 6.21.5
Public Member Functions | List of all members
PythonNumpyInterface Class Reference

Provides interface to support the python numpy type.

#include <Python/pythonnumpyinterface.h>

Inheritance diagram for PythonNumpyInterface:
[legend]

Public Member Functions

 PythonNumpyInterface ()
 
 PythonNumpyInterface (const PythonArray &pythonArray)
 
 PythonNumpyInterface (const PythonNumpyInterface &other)=delete
 
 PythonNumpyInterface (const uchar *data, ssize_t elementSize, const std::vector< ssize_t > &shape, const std::vector< ssize_t > &strides)
 
 ~PythonNumpyInterface ()
 
PythonNumpyInterfaceclone () const override
 
void getArray (PythonArray &out)
 
PythonNumpyInterfaceoperator= (const PythonNumpyInterface &numpy)=delete
 
- Public Member Functions inherited from Clonable
virtual ~Clonable ()=default
 
virtual Clonableclone () const =0
 

Constructor & Destructor Documentation

◆ PythonNumpyInterface() [1/4]

◆ PythonNumpyInterface() [2/4]

PythonNumpyInterface ( const PythonArray pythonArray)

◆ PythonNumpyInterface() [3/4]

PythonNumpyInterface ( const uchar *  data,
ssize_t  elementSize,
const std::vector< ssize_t > &  shape,
const std::vector< ssize_t > &  strides 
)

◆ ~PythonNumpyInterface()

~PythonNumpyInterface ( )
default

◆ PythonNumpyInterface() [4/4]

PythonNumpyInterface ( const PythonNumpyInterface other)
delete

Member Function Documentation

◆ clone()

PythonNumpyInterface * clone ( ) const
overridevirtual
Returns
A clone of this object.
Note
Subclasses would normally return their own type rather than the Clonable type. The C++ language rules allow a more derived type to be returned from a virtual function and the compiler will still treat it as a valid override.

Implements Clonable.

◆ getArray()

void getArray ( PythonArray out)

◆ operator=()

PythonNumpyInterface & operator= ( const PythonNumpyInterface numpy)
delete