bool getInt(string entityName, string attributeName, int &out)/enmlFile

Copies into out the parsed value of an int attribute named attributeName contained in entityName.

If the attribute does not exist or the parsing fails, the out value remains unchanged.