trivial detail, but
```
#include <algorithm>
std::replace(dotClassName.begin(), dotClassName.end(), '/', '.');
```