I would suggest `virtual string getLabelInfo(int label) const = 0;`  here and below;
(moving `const` from arg to func spec)