10.8 OEHasTag

The OEHasTag functions test whether an association exists between a character string tag and a corresponding integer tag identifier using the OEGetTag function (Section 10.7).

bool OEHasTag(unsigned int tag)

This function returns true if an association exists between the passed integer tag and a character string tag. If no association has been made the function returns false.

bool OEHasTag(const std::string &s)

This function returns true if an association exists between the character string tag contained in the STL string passed to the function and an integer tag. If no association has been made the function returns false.