#include enum Source{ Audio, Video, Both }; enum IrregularityType { BRANDS_ON_TAPE, SPLICE, START_OF_TAPE, ENDS_OF_TAPE, DAMAGED_TAPE, DIRT, MARKS, SHADOWS, WOW_AND_FLUTTER, PLAY_PAUSE_STOP, SPEED, EQUALIZATION, SPEED_AND_EQUALIZATION, BACKWARD }; std::string sourceToString(Source source); Source sourceFromString(std::string source); std::string irregularityTypeToString(IrregularityType type); IrregularityType irregularityTypeFromString(std::string type);