in reply to What kind of OO is this?

There's more to OO than inheritance relations. In fact, most expert OO designers agree that inheritance is overused and that composition is underused.

The question you should think about is whether Format is a Format::Real or whether it has a Format::Real. You may also want to read about the Liskov Substitution Principle for more on this topic.