bool pugi::xml_attribute::as_bool (  )  const

Cast attribute value as bool. Returns true for attributes with values that start with '1', 't', 'T', 'y', 'Y', returns false for other attributes.

Returns:
attribute value as bool, or false if conversion did not succeed or attribute is empty


Generated on Thu Jul 30 05:08:20 2009 for libzzub by  doxygen 1.5.9