#include <llgroupmgr.h>
Public Types | |
typedef std::map< LLUUID, LLGroupRoleData * > | role_list_t |
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 () |
role_list_t::iterator | roleBegin () |
role_list_t::iterator | roleEnd () |
BOOL | isInRole (const LLUUID &role_id) |
Protected Attributes | |
LLUUID | mID |
S32 | mContribution |
U64 | mAgentPowers |
std::string | mTitle |
std::string | mOnlineStatus |
BOOL | mIsOwner |
role_list_t | mRolesList |
Friends | |
class | LLGroupMgrGroupData |
Definition at line 56 of file llgroupmgr.h.
typedef std::map<LLUUID,LLGroupRoleData*> LLGroupMemberData::role_list_t |
Definition at line 61 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 76 of file llgroupmgr.cpp.
LLGroupMemberData::~LLGroupMemberData | ( | ) |
Definition at line 91 of file llgroupmgr.cpp.
const LLUUID& LLGroupMemberData::getID | ( | ) | const [inline] |
Definition at line 72 of file llgroupmgr.h.
References mID.
Referenced by LLPanelGroupActionsSubTab::handleActionSelect(), and LLPanelGroupGeneral::updateMembers().
S32 LLGroupMemberData::getContribution | ( | ) | const [inline] |
U64 LLGroupMemberData::getAgentPowers | ( | ) | const [inline] |
Definition at line 74 of file llgroupmgr.h.
References mAgentPowers.
Referenced by LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges(), and LLPanelGroupActionsSubTab::handleActionSelect().
BOOL LLGroupMemberData::isOwner | ( | ) | const [inline] |
Definition at line 75 of file llgroupmgr.h.
References mIsOwner.
Referenced by LLPanelGroupGeneral::updateMembers().
const std::string& LLGroupMemberData::getTitle | ( | ) | const [inline] |
Definition at line 76 of file llgroupmgr.h.
References mTitle.
Referenced by LLPanelGroupGeneral::updateMembers().
const std::string& LLGroupMemberData::getOnlineStatus | ( | ) | const [inline] |
Definition at line 77 of file llgroupmgr.h.
References mOnlineStatus.
Referenced by LLPanelGroupGeneral::updateMembers().
void LLGroupMemberData::addRole | ( | const LLUUID & | role, | |
LLGroupRoleData * | rd | |||
) |
Definition at line 95 of file llgroupmgr.cpp.
References mRolesList.
Referenced by LLGroupMgrGroupData::changeRoleMember(), and LLGroupMgr::processGroupRoleMembersReply().
bool LLGroupMemberData::removeRole | ( | const LLUUID & | role | ) |
Definition at line 100 of file llgroupmgr.cpp.
References mRolesList.
Referenced by LLGroupMgrGroupData::changeRoleMember().
void LLGroupMemberData::clearRoles | ( | ) | [inline] |
Definition at line 80 of file llgroupmgr.h.
References mRolesList.
Referenced by LLGroupMgrGroupData::removeRoleData(), and LLGroupMgrGroupData::removeRoleMemberData().
role_list_t::iterator LLGroupMemberData::roleBegin | ( | ) | [inline] |
Definition at line 81 of file llgroupmgr.h.
References mRolesList.
Referenced by LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges().
role_list_t::iterator LLGroupMemberData::roleEnd | ( | ) | [inline] |
Definition at line 82 of file llgroupmgr.h.
References mRolesList.
Referenced by LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges().
Definition at line 84 of file llgroupmgr.h.
References mRolesList.
Referenced by LLPanelGroupInvite::impl::addRoleNames(), agentCanAddToRole(), and LLPanelGroupMembersSubTab::handleMemberSelect().
friend class LLGroupMgrGroupData [friend] |
Definition at line 58 of file llgroupmgr.h.
LLUUID LLGroupMemberData::mID [protected] |
S32 LLGroupMemberData::mContribution [protected] |
U64 LLGroupMemberData::mAgentPowers [protected] |
Definition at line 89 of file llgroupmgr.h.
Referenced by getAgentPowers(), LLGroupMgrGroupData::recalcAgentPowers(), and LLGroupMgrGroupData::recalcAllAgentPowers().
std::string LLGroupMemberData::mTitle [protected] |
std::string LLGroupMemberData::mOnlineStatus [protected] |
BOOL LLGroupMemberData::mIsOwner [protected] |
Definition at line 92 of file llgroupmgr.h.
Referenced by LLGroupMgrGroupData::changeRoleMember(), and isOwner().
role_list_t LLGroupMemberData::mRolesList [protected] |
Definition at line 93 of file llgroupmgr.h.
Referenced by addRole(), clearRoles(), isInRole(), LLGroupMgrGroupData::recalcAgentPowers(), LLGroupMgrGroupData::recalcAllAgentPowers(), removeRole(), roleBegin(), and roleEnd().