Don't show private inner classes in documentation

I've implemented a small change to exclude private inner classes in documentation. For example:

class A {
  class B {};
};

With this change B is no longer shown in the docs.