#include <llgroupmgr.h>
Collaboration diagram for LLGroupRoleData:
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 111 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 120 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 137 of file llgroupmgr.cpp.
LLGroupRoleData::~LLGroupRoleData | ( | ) |
Definition at line 148 of file llgroupmgr.cpp.
LLGroupRoleData::LLGroupRoleData | ( | ) | [inline, protected] |
Definition at line 150 of file llgroupmgr.h.
Definition at line 184 of file llgroupmgr.cpp.
References mMemberIDs, mMembersNeedsSort, and TRUE.
Referenced by LLGroupMgrGroupData::changeRoleMember(), and LLGroupMgr::processGroupRoleMembersReply().
void LLGroupRoleData::clearMembers | ( | ) |
const LLUUID& LLGroupRoleData::getID | ( | ) | const [inline] |
const std::vector<LLUUID>::const_iterator LLGroupRoleData::getMembersBegin | ( | ) | const [inline] |
const std::vector<LLUUID>::const_iterator LLGroupRoleData::getMembersEnd | ( | ) | const [inline] |
Definition at line 152 of file llgroupmgr.cpp.
References FALSE, LLUUID::isNull(), llmin(), mMemberIDs, mMembersNeedsSort, mRoleID, and S32.
LLRoleData LLGroupRoleData::getRoleData | ( | ) | const [inline] |
Definition at line 135 of file llgroupmgr.h.
References mRoleData.
Referenced by LLPanelGroupActionsSubTab::handleActionSelect().
const std::vector<LLUUID>& LLGroupRoleData::getRoleMembers | ( | ) | const [inline] |
S32 LLGroupRoleData::getTotalMembersInRole | ( | ) | [inline] |
bool LLGroupRoleData::removeMember | ( | const LLUUID & | member | ) |
Definition at line 190 of file llgroupmgr.cpp.
References mMemberIDs, mMembersNeedsSort, and TRUE.
Referenced by LLGroupMgrGroupData::changeRoleMember().
void LLGroupRoleData::setRoleData | ( | LLRoleData | data | ) | [inline] |
Definition at line 136 of file llgroupmgr.h.
References mRoleData.
Referenced by LLGroupMgrGroupData::sendRoleChanges().
friend class LLGroupMgrGroupData [friend] |
Definition at line 113 of file llgroupmgr.h.
S32 LLGroupRoleData::mMemberCount [protected] |
Definition at line 157 of file llgroupmgr.h.
std::vector<LLUUID> LLGroupRoleData::mMemberIDs [protected] |
Definition at line 156 of file llgroupmgr.h.
Referenced by addMember(), clearMembers(), getMembersBegin(), getMembersEnd(), getMembersInRole(), getRoleMembers(), getTotalMembersInRole(), and removeMember().
BOOL LLGroupRoleData::mMembersNeedsSort [private] |
Definition at line 160 of file llgroupmgr.h.
Referenced by addMember(), clearMembers(), getMembersInRole(), and removeMember().
LLRoleData LLGroupRoleData::mRoleData [protected] |
Definition at line 154 of file llgroupmgr.h.
Referenced by getRoleData(), LLGroupRoleData(), and setRoleData().
LLUUID LLGroupRoleData::mRoleID [protected] |