#include <llgroupmgr.h>

Public Member Functions | |
| LLGroupRoleData (const LLUUID &role_id, const std::string &role_name, const std::string &role_title, const std::string &role_desc, const U64 role_powers, const S32 member_count) | |
| LLGroupRoleData (const LLUUID &role_id, LLRoleData role_data, const S32 member_count) | |
| ~LLGroupRoleData () | |
| const LLUUID & | getID () const |
| const std::vector< LLUUID > & | getRoleMembers () const |
| S32 | getMembersInRole (std::vector< LLUUID > members, BOOL needs_sort=TRUE) |
| S32 | getTotalMembersInRole () |
| LLRoleData | getRoleData () const |
| void | setRoleData (LLRoleData data) |
| void | addMember (const LLUUID &member) |
| bool | removeMember (const LLUUID &member) |
| void | clearMembers () |
| const std::vector< LLUUID > ::const_iterator | getMembersBegin () const |
| const std::vector< LLUUID > ::const_iterator | getMembersEnd () const |
Protected Member Functions | |
| LLGroupRoleData () | |
Protected Attributes | |
| LLUUID | mRoleID |
| LLRoleData | mRoleData |
| std::vector< LLUUID > | mMemberIDs |
| S32 | mMemberCount |
Private Attributes | |
| BOOL | mMembersNeedsSort |
Friends | |
| class | LLGroupMgrGroupData |
Definition at line 113 of file llgroupmgr.h.
| LLGroupRoleData::LLGroupRoleData | ( | const LLUUID & | role_id, | |
| const std::string & | role_name, | |||
| const std::string & | role_title, | |||
| const std::string & | role_desc, | |||
| const U64 | role_powers, | |||
| const S32 | member_count | |||
| ) |
Definition at line 117 of file llgroupmgr.cpp.
References LLRoleData::mChangeType, mRoleData, LLRoleData::mRoleDescription, LLRoleData::mRoleName, LLRoleData::mRolePowers, LLRoleData::mRoleTitle, and RC_UPDATE_NONE.
| LLGroupRoleData::LLGroupRoleData | ( | const LLUUID & | role_id, | |
| LLRoleData | role_data, | |||
| const S32 | member_count | |||
| ) |
Definition at line 134 of file llgroupmgr.cpp.
| LLGroupRoleData::~LLGroupRoleData | ( | ) |
Definition at line 145 of file llgroupmgr.cpp.
| LLGroupRoleData::LLGroupRoleData | ( | ) | [inline, protected] |
Definition at line 152 of file llgroupmgr.h.
| const LLUUID& LLGroupRoleData::getID | ( | ) | const [inline] |
| const std::vector<LLUUID>& LLGroupRoleData::getRoleMembers | ( | ) | const [inline] |
Definition at line 149 of file llgroupmgr.cpp.
References FALSE, LLUUID::isNull(), llmin(), mMemberIDs, mMembersNeedsSort, mRoleID, and S32.
Referenced by LLPanelGroupMembersSubTab::handleMemberSelect().


| S32 LLGroupRoleData::getTotalMembersInRole | ( | ) | [inline] |
| LLRoleData LLGroupRoleData::getRoleData | ( | ) | const [inline] |
Definition at line 137 of file llgroupmgr.h.
References mRoleData.
Referenced by LLPanelGroupActionsSubTab::handleActionSelect().

| void LLGroupRoleData::setRoleData | ( | LLRoleData | data | ) | [inline] |
Definition at line 138 of file llgroupmgr.h.
References mRoleData.
Referenced by LLGroupMgrGroupData::sendRoleChanges().

| void LLGroupRoleData::addMember | ( | const LLUUID & | member | ) |
Definition at line 181 of file llgroupmgr.cpp.
References mMemberIDs, mMembersNeedsSort, and TRUE.
Referenced by LLGroupMgrGroupData::changeRoleMember(), and LLGroupMgr::processGroupRoleMembersReply().

| bool LLGroupRoleData::removeMember | ( | const LLUUID & | member | ) |
Definition at line 187 of file llgroupmgr.cpp.
References mMemberIDs, mMembersNeedsSort, and TRUE.
Referenced by LLGroupMgrGroupData::changeRoleMember().

| void LLGroupRoleData::clearMembers | ( | ) |
Definition at line 201 of file llgroupmgr.cpp.
References FALSE, mMemberIDs, and mMembersNeedsSort.
Referenced by LLGroupMgrGroupData::removeRoleMemberData().

| const std::vector<LLUUID>::const_iterator LLGroupRoleData::getMembersBegin | ( | ) | const [inline] |
Definition at line 144 of file llgroupmgr.h.
References mMemberIDs.
Referenced by LLPanelGroupRolesSubTab::buildMembersList().

| const std::vector<LLUUID>::const_iterator LLGroupRoleData::getMembersEnd | ( | ) | const [inline] |
Definition at line 147 of file llgroupmgr.h.
References mMemberIDs.
Referenced by LLPanelGroupRolesSubTab::buildMembersList().

friend class LLGroupMgrGroupData [friend] |
Definition at line 115 of file llgroupmgr.h.
LLUUID LLGroupRoleData::mRoleID [protected] |
LLRoleData LLGroupRoleData::mRoleData [protected] |
Definition at line 156 of file llgroupmgr.h.
Referenced by getRoleData(), LLGroupRoleData(), LLGroupMgrGroupData::recalcAgentPowers(), LLGroupMgrGroupData::recalcAllAgentPowers(), and setRoleData().
std::vector<LLUUID> LLGroupRoleData::mMemberIDs [protected] |
Definition at line 158 of file llgroupmgr.h.
Referenced by addMember(), clearMembers(), getMembersBegin(), getMembersEnd(), getMembersInRole(), getRoleMembers(), getTotalMembersInRole(), and removeMember().
S32 LLGroupRoleData::mMemberCount [protected] |
Definition at line 159 of file llgroupmgr.h.
BOOL LLGroupRoleData::mMembersNeedsSort [private] |
Definition at line 162 of file llgroupmgr.h.
Referenced by addMember(), clearMembers(), getMembersInRole(), and removeMember().
1.5.5