LLGroupMemberData Class Reference

#include <llgroupmgr.h>

Collaboration diagram for LLGroupMemberData:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 56 of file llgroupmgr.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 78 of file llgroupmgr.h.

References mRoles.

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]

Definition at line 71 of file llgroupmgr.h.

References mContribution.

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]

Definition at line 75 of file llgroupmgr.h.

References mOnlineStatus.

const std::string& LLGroupMemberData::getTitle (  )  const [inline]

Definition at line 74 of file llgroupmgr.h.

References mTitle.

BOOL LLGroupMemberData::isInRole ( const LLUUID role_id  )  [inline]

Definition at line 82 of file llgroupmgr.h.

References mRoles.

Referenced by agentCanAddToRole(), and LLPanelGroupMembersSubTab::handleMemberSelect().

BOOL LLGroupMemberData::isOwner (  )  const [inline]

Definition at line 73 of file llgroupmgr.h.

References mIsOwner.

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


Friends And Related Function Documentation

friend class LLGroupMgrGroupData [friend]

Definition at line 58 of file llgroupmgr.h.


Member Data Documentation

U64 LLGroupMemberData::mAgentPowers [protected]

Definition at line 87 of file llgroupmgr.h.

Referenced by getAgentPowers(), LLGroupMgrGroupData::recalcAgentPowers(), and LLGroupMgrGroupData::recalcAllAgentPowers().

S32 LLGroupMemberData::mContribution [protected]

Definition at line 86 of file llgroupmgr.h.

Referenced by getContribution().

LLUUID LLGroupMemberData::mID [protected]

Definition at line 85 of file llgroupmgr.h.

Referenced by getID().

BOOL LLGroupMemberData::mIsOwner [protected]

Definition at line 90 of file llgroupmgr.h.

Referenced by LLGroupMgrGroupData::changeRoleMember(), and isOwner().

std::string LLGroupMemberData::mOnlineStatus [protected]

Definition at line 89 of file llgroupmgr.h.

Referenced by getOnlineStatus().

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]

Definition at line 88 of file llgroupmgr.h.

Referenced by getTitle().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:23 2010 for Second Life Viewer by  doxygen 1.4.7