// Description for A
class A {
public:
// Description For A::Foo()
Foo();
// Description For A::Bar()
Bar();
};
// Description for B
class B : public A {
public:
Foo();
// Description For B::Bar()
Bar();
};
// Description for C
class C : public B {
public:
Foo();
Bar();
};
the description of B::Foo() is Description For A::Foo() because it is undocumented. The description of C::Foo() is the same, because B::Foo() is undocumented and therefore the description of A::Foo() is used. The description of C::Bar() is inherited from B::Bar() because it is the first in the hierarchy that is described.