Method | Description | |
---|---|---|
Get ( ) : object |
Gets the value of the scalar as the physical type defined by Element.TypeOfValue and returns it as a generic object.
|
|
GetBool4 ( ) : bool |
Gets the value of this scalar as a 4-byte boolean.
|
|
GetComplex16 ( ) : ComplexNumber |
Gets the value of this scalar as a 16-byte complex number.
|
|
GetComplex8 ( ) : ComplexNumber |
Gets the value of this scalar as an 8-byte complex number.
|
|
GetGuid ( ) : System.Guid |
Gets the value of this scalar as a globally unique identifier.
|
|
GetInt1 ( ) : short |
Gets the value of this scalar as an 8-bit signed integer.
|
|
GetInt2 ( ) : short |
Gets the value of this scalar as a 16-bit signed integer.
|
|
GetInt4 ( ) : int |
Gets the value of this scalar as a 32-bit signed integer.
|
|
GetReal4 ( ) : float |
Gets the value of this scalar as a 32-bit floating point number.
|
|
GetReal8 ( ) : double |
Gets the value of this scalar as a 64-bit floating point number.
|
|
GetTimestamp ( ) : System.DateTime |
Gets the value of this scalar as DateTime.
|
|
GetUInt1 ( ) : ushort |
Gets the value of this scalar as an 8-bit unsigned integer.
|
|
GetUInt2 ( ) : ushort |
Gets the value of this scalar as a 16-bit unsigned integer.
|
|
GetUInt4 ( ) : uint |
Gets the value of this scalar as a 32-bit unsigned integer.
|
|
GetValue ( ) : byte[] |
Gets the raw bytes of the value that this scalar represents.
|
|
ScalarElement ( ) : System |
Creates a new instance of the ScalarElement class.
|
|
Set ( object value ) : void |
Sets the value at the given index as the physical type defined by Element.TypeOfValue.
|
|
SetBool4 ( bool value ) : void |
Sets the value of this scalar as a 4-byte boolean.
|
|
SetComplex16 ( ComplexNumber value ) : void |
Sets the value of this scalar as a 16-byte complex number.
|
|
SetComplex8 ( ComplexNumber value ) : void |
Sets the value of this scalar as an 8-byte complex number.
|
|
SetGuid ( System.Guid value ) : void |
Sets the value of this scalar as a globally unique identifier.
|
|
SetInt1 ( sbyte value ) : void |
Sets the value of this scalar as an 8-bit signed integer.
|
|
SetInt2 ( short value ) : void |
Sets the value of this scalar as a 16-bit signed integer.
|
|
SetInt4 ( int value ) : void |
Sets the value of this scalar as a 32-bit signed integer.
|
|
SetReal4 ( float value ) : void |
Sets the value of this scalar as a 32-bit floating point number.
|
|
SetReal8 ( double value ) : void |
Sets the value of this scalar as a 64-bit floating point number.
|
|
SetTimestamp ( System.DateTime value ) : void |
Sets the value of this scalar as a DateTime.
|
|
SetUInt1 ( byte value ) : void |
Sets the value of this scalar as an 8-bit unsigned integer.
|
|
SetUInt2 ( ushort value ) : void |
Sets the value of this scalar as a 16-bit unsigned integer.
|
|
SetUInt4 ( uint value ) : void |
Sets the value of this scalar as a 32-bit unsigned integer.
|
|
SetValue ( byte value, int offset ) : void |
Sets the raw bytes of the value that this scalar represents.
|
|
ToString ( ) : string |
Returns a string representation of the scalar.
|
public Set ( object value ) : void | ||
value | object | The new value to be stored. |
return | void |
public SetBool4 ( bool value ) : void | ||
value | bool | The new value as a 4-byte boolean. |
return | void |
public SetComplex16 ( ComplexNumber value ) : void | ||
value | ComplexNumber | The new value as a 16-byte complex number. |
return | void |
public SetComplex8 ( ComplexNumber value ) : void | ||
value | ComplexNumber | The new value as an 8-byte complex number. |
return | void |
public SetGuid ( System.Guid value ) : void | ||
value | System.Guid | The new value as a globally unique identifier. |
return | void |
public SetInt1 ( sbyte value ) : void | ||
value | sbyte | The new value as an 8-bit signed integer. |
return | void |
public SetInt2 ( short value ) : void | ||
value | short | The new value as a 16-bit signed integer. |
return | void |
public SetInt4 ( int value ) : void | ||
value | int | The new value as a 32-bit signed integer. |
return | void |
public SetReal4 ( float value ) : void | ||
value | float | The new value as a 32-bit floating point number. |
return | void |
public SetReal8 ( double value ) : void | ||
value | double | The new value as a 64-bit floating point number. |
return | void |
public SetTimestamp ( System.DateTime value ) : void | ||
value | System.DateTime | The new value of this scalar as a |
return | void |
public SetUInt1 ( byte value ) : void | ||
value | byte | The new value as an 8-bit unsigned integer. |
return | void |
public SetUInt2 ( ushort value ) : void | ||
value | ushort | The new value as a 16-bit unsigned integer. |
return | void |
public SetUInt4 ( uint value ) : void | ||
value | uint | The new value as a 32-bit unsigned integer. |
return | void |
public SetValue ( byte value, int offset ) : void | ||
value | byte | The array containing the bytes. |
offset | int | The offset into the array at which the value starts. |
return | void |