def data_objet_class(data_mode='<STR_LIT:value>', time_mode='<STR_LIT>'):
classes_table = {('<STR_LIT:value>', '<STR_LIT>'): GlobalValueObject,<EOL>('<STR_LIT:value>', '<STR_LIT>'): EventValueObject,<EOL>('<STR_LIT:value>', '<STR_LIT>'): SegmentValueObject,<EOL>('<STR_LIT:value>', '<STR_LIT>'): FrameValueObject,<EOL>('<STR_LIT:label>', '<STR_LIT>'): GlobalLabelObject,<EOL>('<STR_LIT:label>', '<STR_LIT>'): EventLabelObject,<EOL>('<STR_LIT:label>', '<STR_LIT>'): SegmentLabelObject,<EOL>('<STR_LIT:label>', '<STR_LIT>'): FrameLabelObject}<EOL>try:<EOL><INDENT>return classes_table[(data_mode, time_mode)]<EOL><DEDENT>except KeyError as e:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>
Factory function for Analyzer result