SetAttribute
efi_status (*SetAttribute) (struct efi_simple_text_output_protocol* self,
SetAttribute(B_TRANSLATE("Device name"), B_TRANSLATE_NOCOLLECT(name));
SetAttribute(B_TRANSLATE("Manufacturer"), B_TRANSLATE_NOCOLLECT(manufacturer));
SetAttribute(B_TRANSLATE("Driver used"), B_TRANSLATE_NOCOLLECT(driverUsed));
SetAttribute(B_TRANSLATE("Device paths"), B_TRANSLATE_NOCOLLECT(devPathsPublished));
virtual void SetAttribute(const BString& name,
SetAttribute(B_TRANSLATE("Device name"), deviceName.String());
SetAttribute(B_TRANSLATE("Manufacturer"), manufacturerLabel);
SetAttribute(B_TRANSLATE("Device name"), DeviceName);
SetAttribute(B_TRANSLATE("Manufacturer"), ManufacturerName);
SetAttribute(B_TRANSLATE("Driver used"), B_TRANSLATE("Not implemented"));
SetAttribute(B_TRANSLATE("Device paths"), B_TRANSLATE("Not implemented"));
SetAttribute(B_TRANSLATE("Class info"), classInfo);
SetAttribute(B_TRANSLATE("Device name"), nodeProduct.String());
SetAttribute(B_TRANSLATE("Manufacturer"), nodeVendor.String());
SetAttribute(B_TRANSLATE("Device class"), SCSITypeMap[nodeTypeID]);
node->SetAttribute("usb/path", device.Location());
node->SetAttribute("usb/manufacturer", device.ManufacturerString());
node->SetAttribute("usb/product", device.ProductString());
node->SetAttribute("usb/serial_number", device.SerialNumberString());
node->SetAttribute("usb/version", usbVersion);
node->SetAttribute(BString(confPath) << "/max_power", powerValue);
node->SetAttribute(BString(confPath) << "/self_powered", "true");
node->SetAttribute(BString(confPath) << "/remote_wakeup", "true");
node->SetAttribute(BString(confPath) << "/name", config->ConfigurationString());
node->SetAttribute(BString(altPath) << "/active", "true");
node->SetAttribute(BString(altPath) << "/class_info", classVal);
node->SetAttribute(BString(altPath) << "/name", alt->InterfaceString());
node->SetAttribute(BString(endpointPath) << "/address", endpointAddress);
node->SetAttribute(BString(endpointPath) << "/type", type);
node->SetAttribute(BString(endpointPath) << "/max_packet_size", maxPacket);
node->SetAttribute(BString(endpointPath) << "/interval", interval);
node->SetAttribute(BString(altPath) << "/hid_report_descriptor",
SetAttribute(B_TRANSLATE("Device name"), deviceLabel);
SetAttribute(B_TRANSLATE("Manufacturer"), manufacturerLabel);
SetAttribute(B_TRANSLATE("Class info"), classInfo);
newDevice->SetAttribute(B_TRANSLATE("Device paths"), attributes[i].fValue);
newDevice->SetAttribute(attributes[i].fName, attributes[i].fValue);
newDevice->SetAttribute(B_TRANSLATE("Driver used"), driverAttrInfo.value.string);
newDevice->SetAttribute(B_TRANSLATE("Driver used"), B_TRANSLATE("unknown"));
newDevice->SetAttribute(B_TRANSLATE("Device paths"), B_TRANSLATE("none"));
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
err = playlist->ItemAt(lastAssignedIndex)->SetAttribute(
err = playlist->ItemAt(lastAssignedIndex)->SetAttribute(
if (SetAttribute(ATTR_INT64_DURATION, duration) != B_OK) {
return SetAttribute(ATTR_INT64_FRAME, value);
return SetAttribute(ATTR_FLOAT_VOLUME, value);
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
virtual status_t SetAttribute(const Attribute& attribute,
SetAttribute(attribute, true);
SetAttribute(fCategoryAttribute, name, false);
SetAttribute(attribute, value, update);
void SetAttribute(const char* attribute, bool update);
void SetAttribute(const char* attribute,
fView->SetAttribute(attr.String(), true);
fView->SetAttribute(attribute, text.String(), true);
void SetAttribute(const bool &value) { fAttr = value; }
kSystemTable->ConOut->SetAttribute(kSystemTable->ConOut,