Libmsi.SummaryInfo¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
database |
||
r/w/co |
update-count |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Libmsi.SummaryInfo(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(database, update_count)¶
- Parameters:
database (
Libmsi.DatabaseorNone) – an optionnal associatedLibmsi.Databaseupdate_count (
int) – number of changes allowed
- Raises:
- Returns:
a
Libmsi.SummaryInfoorNoneon failure- Return type:
If database is provided, the summary informations will be populated during creation, and the
Libmsi.SummaryInfo.persist() function will save the properties to it. If database isNone, you may still populate properties and then save them to a particular database with theLibmsi.SummaryInfo.save() function.
- get_filetime(prop)¶
- Parameters:
prop (
Libmsi.Property) – aLibmsi.Propertyto get- Raises:
- Returns:
the property value or 0 on failure
- Return type:
- get_int(prop)¶
- Parameters:
prop (
Libmsi.Property) – aLibmsi.Propertyto get- Raises:
- Returns:
the property value or -1 on failure
- Return type:
- get_properties()¶
- Returns:
a new
GLib.Arraywith the list of set properties- Return type:
- get_property_type(prop)¶
- Parameters:
prop (
Libmsi.Property) – aLibmsi.Propertyto get- Raises:
- Returns:
the property type associated for prop.
- Return type:
- get_string(prop)¶
- Parameters:
prop (
Libmsi.Property) – aLibmsi.Propertyto get- Raises:
- Returns:
the property value or
Noneon failure- Return type:
- persist()¶
- Raises:
- Returns:
Trueon success- Return type:
Save summary informations to the associated database.
- save(db)¶
- Parameters:
db (
Libmsi.Database) – aLibmsi.Databaseto save to- Raises:
- Returns:
Trueon success- Return type:
Save summary informations to the associated database.
- set_filetime(prop, value)¶
- Parameters:
prop (
Libmsi.Property) – aLibmsi.Propertyto setvalue (
int) – a value
- Raises:
- Returns:
Trueon success- Return type:
Set file time property prop.
- set_int(prop, value)¶
- Parameters:
prop (
Libmsi.Property) – aLibmsi.Propertyto setvalue (
int) – a value
- Raises:
- Returns:
Trueon success- Return type:
Set integer property prop.
- set_string(prop, value)¶
- Parameters:
prop (
Libmsi.Property) – aLibmsi.Propertyto setvalue (
str) – a string value
- Raises:
- Returns:
Trueon success- Return type:
Set string property prop.
Property Details¶
- Libmsi.SummaryInfo.props.database¶
- Name:
database- Type:
- Default Value:
- Flags:
database
- Libmsi.SummaryInfo.props.update_count¶
- Name:
update-count- Type:
- Default Value:
0- Flags:
update-count