TeamFor
team_id TeamFor(const char *mimeSig) const;
team_id TeamFor(entry_ref *ref) const;
team_id TeamFor(const char* signature) const;
team_id TeamFor(entry_ref* ref) const;
team_id team = BRoster().TeamFor(kNetFSServerSignature);
team = be_roster->TeamFor(fAppSig);
team = be_roster->TeamFor(fRef);
team_id serverTeam = be_roster->TeamFor(kSpamServerSignature);
serverTeam = be_roster->TeamFor(kSpamServerSignature);
team_id tracker = be_roster->TeamFor(kTrackerSig);
team = be_roster->TeamFor(fAppSig);
team = be_roster->TeamFor(fRef);
BMessenger msngr(NULL, be_roster->TeamFor(&editor));
return (TeamFor(signature) >= 0);
return (TeamFor(ref) >= 0);
team_id mediaServer = be_roster->TeamFor(B_MEDIA_SERVER_SIGNATURE);
team_id addOnServer = be_roster->TeamFor(B_MEDIA_ADDON_SERVER_SIGNATURE);
kill_team(be_roster->TeamFor(B_MEDIA_ADDON_SERVER_SIGNATURE));
kill_team(be_roster->TeamFor(B_MEDIA_SERVER_SIGNATURE));
team_id id = be_roster->TeamFor(B_MEDIA_ADDON_SERVER_SIGNATURE);
team_id id = be_roster->TeamFor(B_MEDIA_ADDON_SERVER_SIGNATURE);
CHK(roster.TeamFor(&ref) == B_ERROR);
team_id team = roster.TeamFor(&ref);
CHK(roster.TeamFor(&ref) == runner2.Team());
CHK(roster.TeamFor(&ref) == B_ERROR);
CHK(roster.TeamFor((const char*)NULL) == B_BAD_VALUE);
CHK(roster.TeamFor("application/x-vnd.obos-app-run-testapp1") == B_ERROR);
team_id team = roster.TeamFor("application/x-vnd.obos-app-run-testapp1");
CHK(roster.TeamFor("application/x-vnd.obos-app-run-testapp1")
CHK(roster.TeamFor("application/x-vnd.obos-app-run-testapp1") == B_ERROR);
CHK(roster.TeamFor((entry_ref*)NULL) == B_BAD_VALUE);
fake.fTeam = BRoster().TeamFor(kUnitTesterSignature);
fake.fTeam = BRoster().TeamFor(kUnitTesterSignature);
fake.fTeam = BRoster().TeamFor(kUnitTesterSignature);