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

The ClrFieldInfo defines the clr field information. More...

Inheritance diagram for Python.Runtime.ClrFieldInfo:
Python.Runtime.ClrMemberInfo

Public Member Functions

 ClrFieldInfo (FieldInfo info, PyPropetryAttribute py_info, PyConverter converter)
 The constructor. More...
 
override void SetPyObjAttr (PyObject pyObj, object clrObj)
 Sets the Python object attribute. More...
 
override void SetClrObjAttr (object clrObj, PyObject pyObj)
 Sets the clr object attribute. More...
 

Public Attributes

FieldInfo FieldInfo
 Returns the field information. More...
 
- Public Attributes inherited from Python.Runtime.ClrMemberInfo
string PyPropertyName
 Returns the Python property name. More...
 
IntPtr? PythonType
 Returns the Python type. More...
 
string ClrPropertyName
 Returns the clr property name. More...
 
Type ClrType
 Returns the clr type. More...
 
PyConverter Converter
 Returns the converter used. More...
 

Detailed Description

The ClrFieldInfo defines the clr field information.

Open-source public code originally shared from:

See also
PyConverter by Wenguang Yang, 2018

Definition at line 707 of file PyConverter.cs.

Constructor & Destructor Documentation

◆ ClrFieldInfo()

Python.Runtime.ClrFieldInfo.ClrFieldInfo ( FieldInfo  info,
PyPropetryAttribute  py_info,
PyConverter  converter 
)

The constructor.

Parameters
infoSpecifies the field information.
py_infoSpecifies the Python property attribute.
converterSpecifies the converter.

Definition at line 715 of file PyConverter.cs.

Member Function Documentation

◆ SetClrObjAttr()

override void Python.Runtime.ClrFieldInfo.SetClrObjAttr ( object  clrObj,
PyObject  pyObj 
)
virtual

Sets the clr object attribute.

Parameters
clrObjSpecifies the clr object.
pyObjSpecifies the PyObject.

Implements Python.Runtime.ClrMemberInfo.

Definition at line 751 of file PyConverter.cs.

◆ SetPyObjAttr()

override void Python.Runtime.ClrFieldInfo.SetPyObjAttr ( PyObject  pyObj,
object  clrObj 
)
virtual

Sets the Python object attribute.

Parameters
pyObjSpecifies the PyObject.
clrObjSpecifies the clr object.

Implements Python.Runtime.ClrMemberInfo.

Definition at line 739 of file PyConverter.cs.

Member Data Documentation

◆ FieldInfo

FieldInfo Python.Runtime.ClrFieldInfo.FieldInfo

Returns the field information.

Definition at line 732 of file PyConverter.cs.


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