C# Class IronPython.Modules.CTypes.Field

Inheritance: IronPython.Runtime.Types.PythonTypeSlot, ICodeFormattable
Mostrar archivo Open project: jschementi/iron

Private Properties

Property Type Description
ExtractBits object
Field System
Field System
SetBitsValue void
SetValue void
TryDeleteValue bool
TryGetValue bool
TrySetValue bool

Public Methods

Method Description
__repr__ ( CodeContext context ) : string

Private Methods

Method Description
ExtractBits ( object value ) : object

Called for fields which have been limited to a range of bits. Given the value for the full type this extracts the individual bits.

Field ( string fieldName, INativeType fieldType, int offset, int index ) : System
Field ( string fieldName, INativeType fieldType, int offset, int index, int bits, int bitOffset ) : System
SetBitsValue ( MemoryHolder address, int baseOffset, object value ) : void

Called for fields which have been limited to a range of bits. Sets the specified value into the bits for the field.

SetValue ( MemoryHolder address, int baseOffset, object value ) : void
TryDeleteValue ( CodeContext context, object instance, IronPython.Runtime.Types.PythonType owner ) : bool
TryGetValue ( CodeContext context, object instance, IronPython.Runtime.Types.PythonType owner, object &value ) : bool
TrySetValue ( CodeContext context, object instance, IronPython.Runtime.Types.PythonType owner, object value ) : bool

Method Details

__repr__() public method

public __repr__ ( CodeContext context ) : string
context CodeContext
return string