'Iterate on the current sample\'s WMI Objects and format the property values.'

def __iter__(self):

    if self._sampling:
        raise TypeError(u'Sampling    `WMISampler`    object    is    not    iterable')
    if self.is_raw_perf_class:
        for (previous_wmi_object, current_wmi_object) in izip(self._previous_sample, self._current_sample):
            formatted_wmi_object = self._format_property_values(previous_wmi_object, current_wmi_object)
            (yield formatted_wmi_object)
    else:
        for wmi_object in self._current_sample:
            (yield wmi_object)
