MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
Python.Runtime.Int64Type Class Reference

The Int64Type represents a clr long type. More...

Inheritance diagram for Python.Runtime.Int64Type:
Python.Runtime.PyClrTypeBase

Public Member Functions

 Int64Type ()
 The constructor. More...
 
override object ToClr (PyObject pyObj)
 Converts a PyObject to a long. More...
 
override PyObject ToPython (object clrObj)
 Converts a long to a PyObject. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Python.Runtime.PyClrTypeBase
 PyClrTypeBase (string pyType, Type clrType)
 The constructor. More...
 
 PyClrTypeBase (PyObject pyType, Type clrType)
 The constructor. More...
 
- Properties inherited from Python.Runtime.PyClrTypeBase
PyObject PythonType [get]
 Returns the Python type. More...
 
Type ClrType [get]
 Returns the clr type. More...
 

Detailed Description

The Int64Type represents a clr long type.

Open-source public code originally shared from:

See also
PyConverter by Wenguang Yang, 2018

Definition at line 425 of file PyConverter.cs.

Constructor & Destructor Documentation

◆ Int64Type()

Python.Runtime.Int64Type.Int64Type ( )

The constructor.

Definition at line 430 of file PyConverter.cs.

Member Function Documentation

◆ ToClr()

override object Python.Runtime.Int64Type.ToClr ( PyObject  pyObj)
virtual

Converts a PyObject to a long.

Parameters
pyObjSpecifies the Python object to convert.
Returns
A clr long is returned.

Implements Python.Runtime.PyClrTypeBase.

Definition at line 440 of file PyConverter.cs.

◆ ToPython()

override PyObject Python.Runtime.Int64Type.ToPython ( object  clrObj)
virtual

Converts a long to a PyObject.

Parameters
clrObjSpecifies the long to convert.
Returns
A PyObject representing the long is returned.

Implements Python.Runtime.PyClrTypeBase.

Definition at line 450 of file PyConverter.cs.


The documentation for this class was generated from the following file: