GetAttribute
return fInode->GetAttribute(name, &fAttribute);
&& GetAttribute(name, &attribute) == B_OK) {
status_t status = GetAttribute(name, &attribute);
if (GetAttribute(name, &attribute) != B_OK) {
status_t GetAttribute(const char* name,
if (inode->GetAttribute(attributeName, &attribute) == B_OK) {
if (!name || GetAttribute(name))
Attribute* GetAttribute(const char* name) const;
Attribute* attribute = attrDir->GetAttribute(name);
Attribute* attribute = attrDir->GetAttribute(name);
if (!name || GetAttribute(name))
Attribute* GetAttribute(const char* name) const;
virtual Attribute GetAttribute(const BString& name) const
rootACPIPath = nodeACPIPath = GetAttribute("acpi/path").fValue;
nodeACPIHid = GetAttribute("acpi/hid").fValue;
nodeACPICid = GetAttribute("acpi/cid").fValue;
BString nodeVendor(GetAttribute("scsi/vendor").fValue);
BString nodeProduct(GetAttribute("scsi/product").fValue);
uint32 nodeTypeID = atoi(GetAttribute("scsi/type").fValue);
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,
if (GetAttribute(ATTR_STRING_AUTHOR, author) != B_OK)
if (GetAttribute(ATTR_STRING_ALBUM, album) != B_OK)
if (GetAttribute(ATTR_STRING_TITLE, title) != B_OK)
if (GetAttribute(ATTR_INT32_TRACK, trackNumber) != B_OK)
if (GetAttribute(ATTR_INT64_DURATION, duration) != B_OK) {
if (GetAttribute(ATTR_INT64_FRAME, lastFrame) != B_OK)
if (GetAttribute(ATTR_FLOAT_VOLUME, lastVolume) != B_OK)
if (GetAttribute(ATTR_STRING_NAME, name) != B_OK)
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,
virtual status_t GetAttribute(const Attribute& attribute,