pyregfi
|
A special purpose iterator for registry hives. More...
Public Member Functions | |
def | down |
Descends the iterator to a subkey. | |
def | up |
Causes the iterator to ascend to the current Key's parent. | |
def | first_subkey |
Selects first subkey of current key. | |
def | first_value |
Selects first value of current Key. | |
def | next_subkey |
Selects the next subkey in the current Key's list. | |
def | next_value |
Selects the next value in the current Key's list. | |
def | find_subkey |
Selects the first subkey which has the specified name. | |
def | find_value |
Selects the first value which has the specified name. | |
def | current_subkey |
Retrieves the currently selected subkey. | |
def | current_value |
Retrieves the currently selected value. | |
def | current_key |
Retrieves the current key. | |
def | descend |
Traverse downward multiple levels. | |
def | ancestry |
Obtains a list of the current key's ancestry. | |
def | current_path |
Obtains the current path of the iterator. |
A special purpose iterator for registry hives.
Iterating over an object of this type causes all keys in a specific hive subtree to be returned in a depth-first manner. These iterators are typically created using the Hive.subtree() function on a Hive object.
HiveIterators can also be used to manually traverse up and down a registry hive as they retain information about the current position in the hive, along with which iteration state for subkeys and values for every parent key. See the up and down methods for more information.
def pyregfi.HiveIterator.down | ( | self, | |
subkey_name = None |
|||
) |
Descends the iterator to a subkey.
Descends the iterator one level to the current subkey, or a subkey specified by name.
subkey_name | If specified, locates specified subkey by name (via find_subkey()) and descends to it. |
def pyregfi.HiveIterator.up | ( | self | ) |
Causes the iterator to ascend to the current Key's parent.
def pyregfi.HiveIterator.first_subkey | ( | self | ) |
Selects first subkey of current key.
def pyregfi.HiveIterator.first_value | ( | self | ) |
def pyregfi.HiveIterator.next_subkey | ( | self | ) |
Selects the next subkey in the current Key's list.
def pyregfi.HiveIterator.next_value | ( | self | ) |
Selects the next value in the current Key's list.
def pyregfi.HiveIterator.find_subkey | ( | self, | |
name | |||
) |
Selects the first subkey which has the specified name.
def pyregfi.HiveIterator.find_value | ( | self, | |
name | |||
) |
Selects the first value which has the specified name.
def pyregfi.HiveIterator.current_subkey | ( | self | ) |
Retrieves the currently selected subkey.
def pyregfi.HiveIterator.current_value | ( | self | ) |
Retrieves the currently selected value.
def pyregfi.HiveIterator.current_key | ( | self | ) |
Retrieves the current key.
def pyregfi.HiveIterator.descend | ( | self, | |
path | |||
) |
def pyregfi.HiveIterator.ancestry | ( | self | ) |
def pyregfi.HiveIterator.current_path | ( | self | ) |
Obtains the current path of the iterator.