def get_values(self, profile, bitarray, status):
if not self.init_ok or profile is None:<EOL><INDENT>return [], {}<EOL><DEDENT>output = OrderedDict({})<EOL>for source in profile.contents:<EOL><INDENT>if not source.name:<EOL><INDENT>continue<EOL><DEDENT>if source.name == '<STR_LIT:value>':<EOL><INDENT>output.update(self._get_value(source, bitarray))<EOL><DEDENT>if source.name == '<STR_LIT>':<EOL><INDENT>output.update(self._get_enum(source, bitarray))<EOL><DEDENT>if source.name == '<STR_LIT:status>':<EOL><INDENT>output.update(self._get_boolean(source, status))<EOL><DEDENT><DEDENT>return output.keys(), output<EOL>
Get keys and values from bitarray