AddressArea Structure |
Namespace: Demo3D.PLC.Comms
[TypeConverterAttribute(typeof(ExpandableObjectConverter))] public readonly struct AddressArea : IComparable<AddressArea>, IComparable
The AddressArea type exposes the following members.
| Name | Description | |
|---|---|---|
| AddressArea(AddressArea) |
Constructs an addressable area within an address space.
| |
| AddressArea(Int64, Int64) |
Constructs an addressable area within an address space.
|
| Name | Description | |
|---|---|---|
| BitAddress |
Absolute address in the address space (in bits).
| |
| ByteAddress |
Absolute address rounded down to the nearest byte.
| |
| FromBits |
Absolute address in the addressable area (in bits).
| |
| NumBits |
Length of this address range (in bits).
| |
| NumBytes |
Number of bytes required to contain this addressable area.
| |
| String |
A string that represents the current addressable area.
| |
| ToBits |
Absolute address of the first bit beyond this addressable area.
| |
| Zero |
The empty address area.
|
| Name | Description | |
|---|---|---|
| CompareTo(AddressArea) |
Compares two addressable areas.
| |
| CompareTo(Object) |
Compares two addressable areas.
| |
| Contains(AddressArea) |
Determines whether the current addressable area contains the specified addressable area.
| |
| Contains(Int64) |
Determines whether the current addressable area contains address.
| |
| Contains(Int64, Int64, Int64, Int64) |
Determines whether the first addressable area contains the second addressable area.
| |
| GetByteAligned |
Return the smallest byte-aligned addressable area that contains this addressable area.
| |
| GetWordAligned |
Return the smallest word-aligned addressable area that contains this addressable area.
| |
| Merge |
Return the smallest addressable area that contains this addressable area and 'other'.
| |
| OverlappingArea(AddressArea) |
Return the overlapping area between this addressable area and 'other'.
| |
| OverlappingArea(AddressArea, AddressArea) |
Return the overlapping area between two addressable areas.
| |
| OverlappingOrContiguous(AddressArea) |
Determines whether the specified addressable area either overlaps at any point or is contiguous with the current addressable area.
| |
| OverlappingOrContiguous(Int64, Int64) |
Determines whether the specified addressable area either overlaps at any point or is contiguous with the current addressable area.
| |
| Overlaps(AddressArea) |
Determines whether the specified addressable area overlaps the current addressable area at any point.
| |
| Overlaps(Int64, Int64) |
Determines whether the specified addressable area overlap the current addressable area at any point.
| |
| Overlaps(Int64, Int64, Int64, Int64) |
Determines whether these two addressable areas overlap at any point.
| |
| Shift |
Return a new addressable area that's shifted by shiftBits bits.
| |
| ToString |
Returns a string that represents the current addressable area.
(Overrides ValueTypeToString.) |