MPyDataInterface Class Reference

#include <cpython_ref.h>

Inheritance diagram for MPyDataInterface:

Detailed Description

Interface class for CPyRefs.

@MAXON_ANNOTATION{refclass=false}

Public Member Functions

MAXON_METHOD const DataTypeGetType () const
 
MAXON_METHOD const DataTypeGetMappingType () const
 
MAXON_METHOD DataGetData ()
 
MAXON_METHOD const DataGetData () const
 
MAXON_METHOD const Generic * PrivateGetPtr () const
 
MAXON_METHOD Generic * PrivateGetPtr ()
 

Static Public Member Functions

static MAXON_FUNCTION MPyDataRef CreateDataRef (const CPythonLibraryInterface *lib, REFTYPE refType, NativePyObject *pyObject)
 

Private Member Functions

 MAXON_INTERFACE (MPyDataInterface, MAXON_REFERENCE_NORMAL, "net.maxon.python.interface.mpydata")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( MPyDataInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.python.interface.mpydata"   
)
private

◆ CreateDataRef()

static MAXON_FUNCTION MPyDataRef CreateDataRef ( const CPythonLibraryInterface lib,
REFTYPE  refType,
NativePyObject pyObject 
)
static

◆ GetType()

MAXON_METHOD const DataType& GetType ( ) const

◆ GetMappingType()

MAXON_METHOD const DataType& GetMappingType ( ) const

◆ GetData() [1/2]

MAXON_METHOD Data* GetData ( )

◆ GetData() [2/2]

MAXON_METHOD const Data* GetData ( ) const

◆ PrivateGetPtr() [1/2]

MAXON_METHOD const Generic* PrivateGetPtr ( ) const

◆ PrivateGetPtr() [2/2]

MAXON_METHOD Generic* PrivateGetPtr ( )