Authors
- Generated by root
-
- Declared in:
- RosterGroup.h
The RosterGroup class represents a group in the roster.
Instance Variables
Method summary
+ (id)
groupWithRoster: (id)_roster;
Create a new group in the specified roster.
- (void)
addIdentity: (
JabberIdentity*)_identity;
Adds a new identity to the group. This identity will
either be added to an existing person, or have a new
person created for it, depending on the name.
- (NSComparisonResult)
compare: (
RosterGroup*)otherGroup;
Compares two roster groups by name.
- (NSString*)
groupName;
Returns the name of the group.
- (void)
groupName: (NSString*)_name;
Set the group name.
- (id)
initWithRoster: (id)_roster;
Initialise a new group for the specified roster.
- (unsigned int)
numberOfPeopleInGroupMoreOnlineThan: (unsigned int)hide;
Returns the number of people in the group who are
more online than the specified value.
- (
JabberPerson*)
personAtIndex: (unsigned int)_index;
Returns the person at the specified index.
- (
JabberPerson*)
personNamed: (NSString*)_name;
Returns the person in the group with the specified
name.
- (void)
removeIdentity: (
JabberIdentity*)_identity;
Remove the specified identity from the group. This
may also remove a person from the group if the relevant
person only has a single identity.
Instance Variables for RosterGroup Class
@protected NSString* name;
Description forthcoming.
@protected NSMutableArray* people;
Description forthcoming.
@protected NSMutableDictionary* peopleByName;
Description forthcoming.
@protected id roster;
Description forthcoming.