Represents on offset within an unheadered ROM.
More...
List of all members.
Public Member Functions |
| pUhRom (int offset) |
| Creates a pUhRom with the specified offset.
|
override string | ToString () |
| Gets this offset in a string format.
|
Static Public Member Functions |
static | operator pUhRom (int i) |
| Provides an explicit conversion from an int to a pUhRom.
|
static | operator int (pUhRom i) |
| Provides an explicit conversion from a pUhRom to an int.
|
static pUhRom | operator+ (pUhRom ptr, int offset) |
| Defines the + operator between a pointer and an int to allow for pointer math.
|
static pUhRom | operator- (pUhRom ptr, int offset) |
| Defines the - operator between a pointer and an int to allow for pointer math.
|
Properties |
int | Offset [get, set] |
| Gets the value of this pUhRom.
|
pHRom | Headered [get] |
| Gets this offset adjusted for the size of a header.
|
Detailed Description
Represents on offset within an unheadered ROM.
Constructor & Destructor Documentation
Romulus.Nes.pUhRom.pUhRom |
( |
int |
offset |
) |
|
Creates a pUhRom with the specified offset.
- Parameters:
-
Member Function Documentation
static Romulus.Nes.pUhRom.operator int |
( |
pUhRom |
i |
) |
[explicit, static] |
Provides an explicit conversion from a pUhRom to an int.
- Parameters:
-
- Returns:
- The offset as an integer.
static Romulus.Nes.pUhRom.operator pUhRom |
( |
int |
i |
) |
[explicit, static] |
Provides an explicit conversion from an int to a pUhRom.
- Parameters:
-
- Returns:
- The value as a pUhRom.
static pUhRom Romulus.Nes.pUhRom.operator+ |
( |
pUhRom |
ptr, |
|
|
int |
offset | |
|
) |
| | [static] |
Defines the + operator between a pointer and an int to allow for pointer math.
- Parameters:
-
| ptr | The pointer to modify. |
| offset | The amount to offset the pointer. |
- Returns:
- The modified pointer.
static pUhRom Romulus.Nes.pUhRom.operator- |
( |
pUhRom |
ptr, |
|
|
int |
offset | |
|
) |
| | [static] |
Defines the - operator between a pointer and an int to allow for pointer math.
- Parameters:
-
| ptr | The pointer to modify. |
| offset | The amount to offset the pointer. |
- Returns:
- The modified pointer.
override string Romulus.Nes.pUhRom.ToString |
( |
|
) |
|
Gets this offset in a string format.
- Returns:
- This offset in a string format.
Property Documentation
pHRom Romulus.Nes.pUhRom.Headered [get] |
Gets this offset adjusted for the size of a header.
int Romulus.Nes.pUhRom.Offset [get, set] |
Gets the value of this pUhRom.
The documentation for this struct was generated from the following file:
- D:/VS/Romulus/RomulusPublic/Nes/Pointers.cs