#include <llgroupmgr.h>
Collaboration diagram for LLGroupMemberData:
Public Member Functions | |
LLGroupMemberData (const LLUUID &id, S32 contribution, U64 agent_powers, const std::string &title, const std::string &online_status, BOOL is_owner) | |
~LLGroupMemberData () | |
const LLUUID & | getID () const |
S32 | getContribution () const |
U64 | getAgentPowers () const |
BOOL | isOwner () const |
const std::string & | getTitle () const |
const std::string & | getOnlineStatus () const |
void | addRole (const LLUUID &role, LLGroupRoleData *rd) |
bool | removeRole (const LLUUID &role) |
void | clearRoles () |
std::map< LLUUID, LLGroupRoleData * >::iterator | roleBegin () |
std::map< LLUUID, LLGroupRoleData * >::iterator | roleEnd () |
BOOL | isInRole (const LLUUID &role_id) |
Protected Attributes | |
LLUUID | mID |
S32 | mContribution |
U64 | mAgentPowers |
std::string | mTitle |
std::string | mOnlineStatus |
BOOL | mIsOwner |
std::map< LLUUID, LLGroupRoleData * > | mRoles |
Friends | |
class | LLGroupMgrGroupData |
Definition at line 56 of file llgroupmgr.h.
LLGroupMemberData::LLGroupMemberData | ( | const LLUUID & | id, | |
S32 | contribution, | |||
U64 | agent_powers, | |||
const std::string & | title, | |||
const std::string & | online_status, | |||
BOOL | is_owner | |||
) |
Definition at line 79 of file llgroupmgr.cpp.
LLGroupMemberData::~LLGroupMemberData | ( | ) |
Definition at line 94 of file llgroupmgr.cpp.
void LLGroupMemberData::addRole | ( | const LLUUID & | role, | |
LLGroupRoleData * | rd | |||
) |
Definition at line 98 of file llgroupmgr.cpp.
References mRoles.
Referenced by LLGroupMgrGroupData::changeRoleMember(), and LLGroupMgr::processGroupRoleMembersReply().
void LLGroupMemberData::clearRoles | ( | ) | [inline] |
U64 LLGroupMemberData::getAgentPowers | ( | ) | const [inline] |
Definition at line 72 of file llgroupmgr.h.
References mAgentPowers.
Referenced by LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges(), and LLPanelGroupActionsSubTab::handleActionSelect().
S32 LLGroupMemberData::getContribution | ( | ) | const [inline] |
const LLUUID& LLGroupMemberData::getID | ( | ) | const [inline] |
Definition at line 70 of file llgroupmgr.h.
References mID.
Referenced by LLPanelGroupActionsSubTab::handleActionSelect().
const std::string& LLGroupMemberData::getOnlineStatus | ( | ) | const [inline] |
const std::string& LLGroupMemberData::getTitle | ( | ) | const [inline] |
Definition at line 82 of file llgroupmgr.h.
References mRoles.
Referenced by agentCanAddToRole(), and LLPanelGroupMembersSubTab::handleMemberSelect().
BOOL LLGroupMemberData::isOwner | ( | ) | const [inline] |
bool LLGroupMemberData::removeRole | ( | const LLUUID & | role | ) |
Definition at line 103 of file llgroupmgr.cpp.
References mRoles.
Referenced by LLGroupMgrGroupData::changeRoleMember().
std::map<LLUUID,LLGroupRoleData*>::iterator LLGroupMemberData::roleBegin | ( | ) | [inline] |
Definition at line 79 of file llgroupmgr.h.
References mRoles.
Referenced by LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges().
std::map<LLUUID,LLGroupRoleData*>::iterator LLGroupMemberData::roleEnd | ( | ) | [inline] |
Definition at line 80 of file llgroupmgr.h.
References mRoles.
Referenced by LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges().
friend class LLGroupMgrGroupData [friend] |
Definition at line 58 of file llgroupmgr.h.
U64 LLGroupMemberData::mAgentPowers [protected] |
Definition at line 87 of file llgroupmgr.h.
Referenced by getAgentPowers(), LLGroupMgrGroupData::recalcAgentPowers(), and LLGroupMgrGroupData::recalcAllAgentPowers().
S32 LLGroupMemberData::mContribution [protected] |
LLUUID LLGroupMemberData::mID [protected] |
BOOL LLGroupMemberData::mIsOwner [protected] |
Definition at line 90 of file llgroupmgr.h.
Referenced by LLGroupMgrGroupData::changeRoleMember(), and isOwner().
std::string LLGroupMemberData::mOnlineStatus [protected] |
std::map<LLUUID,LLGroupRoleData*> LLGroupMemberData::mRoles [protected] |
Definition at line 91 of file llgroupmgr.h.
Referenced by addRole(), clearRoles(), isInRole(), LLGroupMgrGroupData::recalcAgentPowers(), LLGroupMgrGroupData::recalcAllAgentPowers(), removeRole(), roleBegin(), and roleEnd().
std::string LLGroupMemberData::mTitle [protected] |