comparison vamp-support/PreservingPluginOutputIdMapper.h @ 265:7ada63fe1084

Some neatening
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 12 Oct 2018 22:18:37 +0100
parents 427c4c725085
children 4b581a498981
comparison
equal deleted inserted replaced
264:37760b5376b3 265:7ada63fe1084
39 39
40 #include <iostream> 40 #include <iostream>
41 41
42 namespace piper_vamp { 42 namespace piper_vamp {
43 43
44 //!!! document -- this is a passthrough thing that invents its 44 /**
45 //!!! numerical ids, they have no correspondence with any real plugin 45 * A PluginOutputIdMapper that knows nothing about actual plugin IDs,
46 46 * but that accepts any string as an argument to idToIndex, returns an
47 * entirely invented index that is consistent for that string, and
48 * maps back to the same string through indexToId.
49 */
47 class PreservingPluginOutputIdMapper : public PluginOutputIdMapper 50 class PreservingPluginOutputIdMapper : public PluginOutputIdMapper
48 { 51 {
49 public: 52 public:
50 PreservingPluginOutputIdMapper() { } 53 PreservingPluginOutputIdMapper() { }
51 54