Bob is a hero.
Scratch that. Bob is the hero.
He fights with honor — he never kicks opponents while they're down or uses dirty tricks to win a confrontation. If he takes to the battlefield, he fights with appropriate force and despairs having to see any bloodshed. His goodness is genuine, not some con, and he will always make the right choice even when people would never know he made the wrong one. He looks out for the little guy, stands up for what's morally correct, and serves as the role model for heroes — being their standard-bearer, in many ways — and as a beacon of character for villains — even prompting some of them to give up their immoral ways.
The Ideal Hero is quite seen in stories set on the idealistic side of the Sliding Scale of Idealism Versus Cynicism. Oftentimes, the Ideal Hero in such stories will get rewarded, and plentifully so, for being a good guy through and through. What's more, he never struggles with himself, being The Hero from sunrise to sunset.
In more cynical stories, however, things are not that simple. Usually, the Ideal Hero does what he does because it's the right way to live. He gets rewarded for it less often (sometimes far less often). What's more, he may even struggle with himself to make the right choice — but usually makes the right choice in the end.
When executed poorly, an Ideal Hero can exemplify any of an array of the worst of good guy tropes, like Stupid Good, Lawful Stupid, and — in the worst cases — even a Knight Templar who refuses to allow any deviation from his strict moral code.