Check include guards in a file

Hi,

I would like to know if there is one and only one include guards in the file parsed, that is, if the file has the #ifndef directive (or the “#if !defined” equivalent). I have been searching for the way to achieve this, but I’m really confused because there are several classes refering to include guards.

What is the simplest way to check this?

Cheers.