======================= Bool (hwx.inspire.core) ======================= Store True or False -------------- Public Methods -------------- +------------------------------------+ | castForSet_ (self, obj, value) | +------------------------------------+ | create_ (self, obj) | +------------------------------------+ | getInCoreValue_ (self, obj) | +------------------------------------+ | setInCoreValue_ (self, obj, value) | +------------------------------------+ -------------- Method Details -------------- .. _castForSet: .. method:: castForSet(self, obj, value) Converts and validates the bool value before setting. :param obj: Object this attribute belongs to. :type obj: GeneralObject :param value: Value of the attribute to set. :type value: str, bool :returns: Validated and converted value. :rtype: bool .. _create: .. method:: create(self, obj) Creates a bool attribute for the specified object. .. _getInCoreValue: .. method:: getInCoreValue(self, obj) Calls the incore get method (defined in C++) of the attribute. .. _setInCoreValue: .. method:: setInCoreValue(self, obj, value) Calls the incore set method (defined in C++) of the attribute.