GetAttrInfo
status_t GetAttrInfo(const char *name, struct attr_info *info) const;
status_t GetAttrInfo(BMessage* info) const;
status_t GetAttrInfo(const char* name,
status_t error = node.GetAttrInfo(name, &info);
if (file.GetAttrInfo("Subject", &info) != B_OK
if (file.GetAttrInfo("Subject", &info) != B_OK)
if (file.GetAttrInfo("MAIL:classification", &attributeInfo) == B_OK)
status = node.GetAttrInfo(kStateAttribute, &info);
if (node.GetAttrInfo(attribute.String(), &info) != B_OK || info.size == 0)
dir->GetAttrInfo(buffer1, &info);
node->GetAttrInfo("be:encoding", &info);
if (node->GetAttrInfo(kAttrName, &info) != B_OK)
status = fFile.GetAttrInfo(fAttribute, &info);
status = node.GetAttrInfo(fAttribute, &info);
if (node.GetAttrInfo(attribute, &info) != B_OK)
if (file.GetAttrInfo(kVectorAttrNodeName, &attrInfo) == B_OK) {
if (sourceNode.GetAttrInfo(attrName, &info) != B_OK)
if (node.GetAttrInfo(ICON_ATTRIBUTE, &attributes) == B_OK) {
if (file.GetAttrInfo("META:email", &info) == B_NO_ERROR) {
if (file.GetAttrInfo("META:name", &info) == B_NO_ERROR) {
if (node.GetAttrInfo(kAttrQueryInitialAttrs, &info) != B_OK)
if ((indexFile.GetAttrInfo("WINDEX:modified", &info)
if ((indexFile.GetAttrInfo("WINDEX:version", &info) == B_OK)) {
status_t status = node.GetAttrInfo(kDurationAttrName, &info);
status = node.GetAttrInfo("Audio:Bitrate", &info);
status = node.GetAttrInfo("Video:Bitrate", &info);
status_t status = node.GetAttrInfo(kRatingAttrName, &info);
if (mime.GetAttrInfo(&info) == B_NO_ERROR) {
&& file.GetAttrInfo(fCategoryAttribute, &info) == B_OK
if (file != NULL && file->GetAttrInfo(attribute, &info) == B_OK) {
if (node.GetAttrInfo(name, &info) != B_OK) {
if (src.GetAttrInfo(attrName, &info) != B_OK) {
status_t error = source.GetAttrInfo(attrName, &attrInfo);
status = node.GetAttrInfo(name, &attrInfo);
ErrorCode = MimeType.GetAttrInfo (&Parameters);
status_t status = node->GetAttrInfo(fName.String(), &info);
status_t error = in.GetAttrInfo(name, &attrInfo);
if (!overwrite && out.GetAttrInfo(name, &attrInfo) == B_OK)
if (GetAttrInfo(&attrs) == B_OK) {
err = node.GetAttrInfo(kAttrOriginalPath, &ai);
error = fNode->GetAttrInfo(name, &info);
error = GetAttrInfo(name, &info);
error = fNode->GetAttrInfo(kNITypeAttribute, &attrInfo);
error = fNode->GetAttrInfo(attribute, &attrInfo);
error = fNode->GetAttrInfo(kNIPreferredAppAttribute, &attrInfo);
error = fNode->GetAttrInfo(kNIAppHintAttribute, &attrInfo);
if (n.GetAttrInfo(name,&info) != B_OK)
return n->GetAttrInfo(name, &info) == B_OK;
status_t status = source.GetAttrInfo(attrName, &attrInfo);
if (node.GetAttrInfo(kAttrQueryVolume, &info) == B_OK) {
error = fNode->GetAttrInfo(name, &info);
status_t error = source.GetAttrInfo(attrName, &attrInfo);
error = GetAttrInfo(name, &info);
status_t result = fNode->GetAttrInfo(kNIIconAttribute, &attrInfo);
result = fNode->GetAttrInfo(kNIPreferredAppAttribute, &attrInfo);
result = fNode->GetAttrInfo(kNIAppHintAttribute, &attrInfo);
result = fNode->GetAttrInfo(kNITypeAttribute, &attrInfo);
|| typeNode.GetAttrInfo(kShortDescriptionAttr, &info) != B_OK)) {
&& (fForce || typeNode.GetAttrInfo(kAppHintAttr, &info) != B_OK)) {
&& (fForce || typeNode.GetAttrInfo(kIconAttr, &info) != B_OK)) {
&& (fForce || typeNode.GetAttrInfo(kMiniIconAttr, &info) != B_OK)) {
&& (fForce || typeNode.GetAttrInfo(kLargeIconAttr, &info) != B_OK)) {
|| typeNode.GetAttrInfo(kSupportedTypesAttr, &info) != B_OK)) {
&& (fForce || typeNode.GetAttrInfo(kPreferredAppAttr, &info) != B_OK)) {
if (node.GetAttrInfo(kTypeAttr, &info) == B_OK) {
&& node.GetAttrInfo(BPrivate::Storage::Mime::kTypeAttr, &info) == B_OK;
result = node.GetAttrInfo(attribute, &info);
result = node.GetAttrInfo(iconAttrName, &info);
if (result == B_OK && _node.GetAttrInfo(kTypeAttr, &attrInfo) == B_OK) {
result = source.GetAttrInfo(attribute, &info);
|| node.GetAttrInfo(kFileTypeAttr, &info) == B_ENTRY_NOT_FOUND) {
if (fNode->GetAttrInfo(name, &info) != B_OK)
if (fNode->GetAttrInfo(attrName, &info) != B_OK)
if (node->GetAttrInfo(kBackgroundImageInfo, &info) != B_OK)
if (node->GetAttrInfo(attrName, &info) != B_OK)
return node->GetAttrInfo(kAttrWindowFrame, &info) == B_OK;
if (mimeType.GetAttrInfo(&attrInfo) != B_OK)
if (srcNode->GetAttrInfo(name, &info) != B_OK)
if (destNode->GetAttrInfo(name, &dest_info) == B_OK)
if (srcNode->GetAttrInfo(name, &info) != B_OK)
if (destNode->GetAttrInfo(name, &dest_info) == B_OK)
if (deskDir->GetAttrInfo(kAttrIcon, &attrInfo) == B_ENTRY_NOT_FOUND) {
if (deskDir->GetAttrInfo(kAttrIcon, &attrInfo) == B_ENTRY_NOT_FOUND) {
if (deskDir->GetAttrInfo(kAttrLargeIcon, &attrInfo) == B_ENTRY_NOT_FOUND) {
if (deskDir->GetAttrInfo(kAttrMiniIcon, &attrInfo) == B_ENTRY_NOT_FOUND) {
if (node->GetAttrInfo(hostAttrName, &info) == B_OK) {
if (node->GetAttrInfo(foreignAttrName, &info) == B_OK) {
ReadAttrResult GetAttrInfo(const BNode*, const char* hostAttrName,
if (node->GetAttrInfo("_trk/directories", &info) != B_OK)
if (node->GetAttrInfo(kAttrQueryVolume, &info) == B_OK) {
if (node->GetAttrInfo(kAttrQueryInitialAttrs, &info) != B_OK)
if (mimeType.GetAttrInfo(&attributeMessage) != B_OK)
if (fNode->GetAttrInfo(kAttrThumbnail, &thumb) == B_OK
if (fNode->GetAttrInfo(kAttrIcon, &info) == B_OK) {
if (fNode->GetAttrInfo(kAttrMiniIcon, &info) == B_OK
&& fNode->GetAttrInfo(kAttrLargeIcon, &info) == B_OK) {
result = GetAttrInfo(model->Node(), extendedPoseInfoAttrName,
infoStatus = poseModel->Node()->GetAttrInfo(attrName, &info);
= TargetModel()->Node()->GetAttrInfo(kAttrQueryInitialMime,
fStatus = modelNode->GetAttrInfo(kAttrQueryString, &info);
if (modelNode->GetAttrInfo(kAttrQueryVolume, &info) == B_OK) {
if (modelNode->GetAttrInfo("_trk/directories", &info) == B_OK) {
if (node.GetAttrInfo(kAttrTemplateSubMenu, &attrInfo) == B_OK) {
if (node->GetAttrInfo(kAttrThumbnail, &attrInfo) == B_OK) {
|| deskDir.GetAttrInfo(kAttrOpenWindows, &attrInfo) != B_OK) {
|| fMimeType.GetAttrInfo(&fExtraAttrs) != B_OK) {
if (dir.GetAttrInfo(kBackgroundImageInfo, &info) != B_OK) {
if (fModel->Node()->GetAttrInfo(fColumn->AttrName(), &info)
node->GetAttrInfo(name, &info);
result = node->GetAttrInfo(attrName, &attrInfo);
result = node->GetAttrInfo(attribute, &attrInfo);
dir->GetAttrInfo(buffer1, &info);
if (fSpoolFolder->GetAttrInfo(attrName, &info) == B_OK && info.size > 0) {
if (node->GetAttrInfo(kBackgroundImageInfo, &info) != B_OK)
if (type->GetAttrInfo(&attributes) != B_OK)
status_t status = fMimeType.GetAttrInfo(&attributes);
if (fCurrentType.GetAttrInfo(&attributes) != B_OK)
if (fCurrentType.GetAttrInfo(&attributes) == B_OK) {
if (node.GetAttrInfo(kSigAttr, &info) == B_OK)
if (node.GetAttrInfo(kFlagsAttr, &info) == B_OK)
CHK(node.GetAttrInfo(name, &info) == B_OK);
CHK(node.GetAttrInfo(name, &info) == B_OK);
CHK(node.GetAttrInfo(name, &info) == B_ENTRY_NOT_FOUND);
CHK(mime.GetAttrInfo(&msg) == B_OK);
CHK(mime.GetAttrInfo(&msgExtraGet) == B_OK);
CHK(mime.GetAttrInfo(&msgExtraGet) == B_OK); // Reinitializes result (clearing extra fields)
CHK(mime.GetAttrInfo(&msg) != B_OK); // R5 == B_ENTRY_NOT_FOUND
CHK(mime.GetAttrInfo(&msg2) == B_OK);
CHK(mime.GetAttrInfo(&msg) == B_OK);
CHK(mime.GetAttrInfo(&msg) == B_OK);
CHK(mime.GetAttrInfo(&msg) != B_OK);
if (node.GetAttrInfo("META:FILE_TYPES", &info) == B_OK) {
CHK(mime.GetAttrInfo(&msg) != B_OK); // R5 == B_BAD_VALUE
CHK(mime.GetAttrInfo(&msg) == B_OK);
CHK(mime.GetAttrInfo(&msg) != B_OK);
CHK(mime.GetAttrInfo(&msg) == B_OK);
CHK(mime.GetAttrInfo(&msg) != B_OK);
CHK(mime.GetAttrInfo(&msg) == B_OK);
CHK(mime.GetAttrInfo(&msg) == B_OK);
CHK(mime.GetAttrInfo(&msg) == B_OK);
CHK(node.GetAttrInfo(name, &info) == B_OK);
CHK(node.GetAttrInfo(name, &info) == B_ENTRY_NOT_FOUND);
CPPUNIT_ASSERT( node.GetAttrInfo(attrName, &info) == B_OK );
CPPUNIT_ASSERT( node.GetAttrInfo("non-existing attribute", &info)
CPPUNIT_ASSERT( equals(node.GetAttrInfo(NULL, &info), B_BAD_ADDRESS,
CPPUNIT_ASSERT( equals(node.GetAttrInfo(attrNames[0], NULL), B_BAD_ADDRESS,
CPPUNIT_ASSERT( equals(node.GetAttrInfo(NULL, NULL), B_BAD_ADDRESS,
CPPUNIT_ASSERT( node.GetAttrInfo(tooLongAttrName, &info)
CPPUNIT_ASSERT( node->GetAttrInfo("attr1", &info) == B_FILE_ERROR );
if (mimeType.GetAttrInfo(&attrInfo) == B_OK) {
fssh_status_t error = sourceNode->GetAttrInfo(name, info);
virtual fssh_status_t GetAttrInfo(const char *name,
if (node.GetAttrInfo(nameBuffer, &info) != B_OK) {
if (file.GetAttrInfo(kAttrName, &info) != B_OK)