LLGroupRoleData Class Reference

#include <llgroupmgr.h>

Collaboration diagram for LLGroupRoleData:

Collaboration graph
[legend]

List of all members.

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 LLUUIDgetID () 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< LLUUIDmMemberIDs
S32 mMemberCount

Private Attributes

BOOL mMembersNeedsSort

Friends

class LLGroupMgrGroupData


Detailed Description

Definition at line 113 of file llgroupmgr.h.


Constructor & Destructor Documentation

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 
)

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.


Member Function Documentation

const LLUUID& LLGroupRoleData::getID (  )  const [inline]

Definition at line 131 of file llgroupmgr.h.

References mRoleID.

const std::vector<LLUUID>& LLGroupRoleData::getRoleMembers (  )  const [inline]

Definition at line 133 of file llgroupmgr.h.

References mMemberIDs.

S32 LLGroupRoleData::getMembersInRole ( std::vector< LLUUID members,
BOOL  needs_sort = TRUE 
)

Definition at line 149 of file llgroupmgr.cpp.

References FALSE, LLUUID::isNull(), llmin(), mMemberIDs, mMembersNeedsSort, mRoleID, and S32.

Referenced by LLPanelGroupMembersSubTab::handleMemberSelect().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLGroupRoleData::getTotalMembersInRole (  )  [inline]

Definition at line 135 of file llgroupmgr.h.

References mMemberIDs.

LLRoleData LLGroupRoleData::getRoleData (  )  const [inline]

Definition at line 137 of file llgroupmgr.h.

References mRoleData.

Referenced by LLPanelGroupActionsSubTab::handleActionSelect().

Here is the caller graph for this function:

void LLGroupRoleData::setRoleData ( LLRoleData  data  )  [inline]

Definition at line 138 of file llgroupmgr.h.

References mRoleData.

Referenced by LLGroupMgrGroupData::sendRoleChanges().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

bool LLGroupRoleData::removeMember ( const LLUUID member  ) 

Definition at line 187 of file llgroupmgr.cpp.

References mMemberIDs, mMembersNeedsSort, and TRUE.

Referenced by LLGroupMgrGroupData::changeRoleMember().

Here is the caller graph for this function:

void LLGroupRoleData::clearMembers (  ) 

Definition at line 201 of file llgroupmgr.cpp.

References FALSE, mMemberIDs, and mMembersNeedsSort.

Referenced by LLGroupMgrGroupData::removeRoleMemberData().

Here is the caller graph for this function:

const std::vector<LLUUID>::const_iterator LLGroupRoleData::getMembersBegin (  )  const [inline]

Definition at line 144 of file llgroupmgr.h.

References mMemberIDs.

Referenced by LLPanelGroupRolesSubTab::buildMembersList().

Here is the caller graph for this function:

const std::vector<LLUUID>::const_iterator LLGroupRoleData::getMembersEnd (  )  const [inline]

Definition at line 147 of file llgroupmgr.h.

References mMemberIDs.

Referenced by LLPanelGroupRolesSubTab::buildMembersList().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLGroupMgrGroupData [friend]

Definition at line 115 of file llgroupmgr.h.


Member Data Documentation

Definition at line 155 of file llgroupmgr.h.

Referenced by getID(), and getMembersInRole().

std::vector<LLUUID> LLGroupRoleData::mMemberIDs [protected]

Definition at line 159 of file llgroupmgr.h.

Definition at line 162 of file llgroupmgr.h.

Referenced by addMember(), clearMembers(), getMembersInRole(), and removeMember().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:48:45 2008 for SecondLife by  doxygen 1.5.5