Mirage.Index

g GObject.GInterface GObject.GInterface Mirage.Contextual Mirage.Contextual GObject.GInterface->Mirage.Contextual GObject.Object GObject.Object Mirage.Object Mirage.Object GObject.Object->Mirage.Object Mirage.Contextual->Mirage.Object Mirage.Index Mirage.Index Mirage.Object->Mirage.Index

Subclasses:

None

Methods

Inherited:

Mirage.Object (2), GObject.Object (37), Mirage.Contextual (8)

Structs:

GObject.ObjectClass (5)

get_address ()

get_number ()

set_address (address)

set_number (number)

Virtual Methods

Inherited:

GObject.Object (7), Mirage.Contextual (2)

Properties

None

Signals

Inherited:

Mirage.Object (1), GObject.Object (1)

Fields

Inherited:

Mirage.Object (1), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Mirage.Object

r

Class Details

class Mirage.Index(**kwargs)
Bases:

Mirage.Object

Abstract:

No

Structure:

Mirage.IndexClass

All the fields in the Mirage.Index structure are private to the Mirage.Index implementation and should never be accessed directly.

get_address()
Returns:

address

Return type:

int

Retrieves index’ start adddress. The address is given in sectors.

get_number()
Returns:

index number

Return type:

int

Retrieves index’ index number.

set_address(address)
Parameters:

address (int) – address

Sets index’ start address. The address is given in sectors.

set_number(number)
Parameters:

number (int) – index number

Sets index’ index number.