StropheCappuccino API 1.0.0
TNStropheGroup Class Reference

#import <TNStropheGroup.h>

List of all members.

Public Member Functions

(void) - addSubGroup: [implementation]
(int) - contactCount [implementation]
(CPArray) - contacts [implementation]
(TNStropheContact- contactWithJID:matchBare: [implementation]
(CPArray) - content [implementation]
(int) - count [implementation]
(CPString) - description [implementation]
(void) - encodeWithCoder: [implementation]
(void) - flush [implementation]
(id) - initWithCoder: [implementation]
(TNStropheGroup- initWithName: [implementation]
(CPString) - name [implementation]
(TNStropheGroup- parentGroup [implementation]
(CPString) - path [implementation]
(void) - removeSubGroup: [implementation]
(void) - removeSubGroups [implementation]
(void) - setContacts: [implementation]
(void) - setName: [implementation]
(void) - setParentGroup: [implementation]
(CPArray) - subGroups [implementation]
(int) - subGroupsCount [implementation]
(TNStropheGroup- subGroupWithName: [implementation]

Static Public Member Functions

(TNStropheGroup+ stropheGroupWithName: [implementation]

Detailed Description

this is an implementation of a basic XMPP Group.

Definition at line 2 of file TNStropheGroup.h.


Member Function Documentation

- (void) addSubGroup: (TNStropheGroup aGroup [implementation]

add another group as subgroup

Parameters:
aGroupthe other group

Definition at line 117 of file TNStropheGroup.j.

- (int) contactCount [implementation]

return the number of contacts

Returns:
the number of contacts

Definition at line 203 of file TNStropheGroup.j.

- (CPArray) contacts [implementation]

Synthesized accessor method.

Definition at line 262 of file TNStropheGroup.j.

- (TNStropheContact) contactWithJID: (TNStropheJID aJID
matchBare: (BOOL)  matchBare 
[implementation]

return the contact with given jid

Parameters:
aJIDthe TNStropheJID
matchBareif YES, will use bareEquals, otherwise will use fullEquals

Definition at line 91 of file TNStropheGroup.j.

- (CPArray) content [implementation]

Definition at line 217 of file TNStropheGroup.j.

- (int) count [implementation]

return the number of entries

Returns:
the number of entries

Definition at line 211 of file TNStropheGroup.j.

- (CPString) description [implementation]

return the group name as description

Definition at line 78 of file TNStropheGroup.j.

- (void) encodeWithCoder: (CPCoder)  aCoder [implementation]

Definition at line 239 of file TNStropheGroup.j.

- (void) flush [implementation]

flush the content of the group

Definition at line 186 of file TNStropheGroup.j.

- (id) initWithCoder: (CPCoder)  aCoder [implementation]

Definition at line 227 of file TNStropheGroup.j.

- (TNStropheGroup) initWithName: (CPString)  aName [implementation]

initialize a group with given name

Parameters:
aNamethe name of the group
Returns:
a new TNStropheGroup

Definition at line 59 of file TNStropheGroup.j.

- (CPString) name [implementation]

Synthesized accessor method.

Definition at line 278 of file TNStropheGroup.j.

- (TNStropheGroup) parentGroup [implementation]

Synthesized accessor method.

Definition at line 294 of file TNStropheGroup.j.

- (CPString) path [implementation]

format the path for the given group

Parameters:
aGroupthe group to format the path the path of the group

Definition at line 166 of file TNStropheGroup.j.

- (void) removeSubGroup: (TNStropheGroup aGroup [implementation]

remove the given subgroup

Parameters:
aGroupthe group to remove

Definition at line 129 of file TNStropheGroup.j.

- (void) removeSubGroups [implementation]

remove all subgroups

Definition at line 140 of file TNStropheGroup.j.

- (void) setContacts: (CPArray)  aValue [implementation]

Synthesized accessor method.

Definition at line 270 of file TNStropheGroup.j.

- (void) setName: (CPString)  aValue [implementation]

Synthesized accessor method.

Definition at line 286 of file TNStropheGroup.j.

- (void) setParentGroup: (TNStropheGroup aValue [implementation]

Synthesized accessor method.

Definition at line 302 of file TNStropheGroup.j.

+ (TNStropheGroup) stropheGroupWithName: (CPString)  aName [implementation]

alloc and initialize a group with given name

Parameters:
aNamethe name of the group
Returns:
a new TNStropheGroup

Definition at line 50 of file TNStropheGroup.j.

- (CPArray) subGroups [implementation]

Synthesized accessor method.

Definition at line 254 of file TNStropheGroup.j.

- (int) subGroupsCount [implementation]

return the number of groups

Returns:
the number of groups

Definition at line 195 of file TNStropheGroup.j.

- (TNStropheGroup) subGroupWithName: (CPString)  aName [implementation]

return the subgroup with given name

Parameters:
aNamethe name of the subgroup

Definition at line 154 of file TNStropheGroup.j.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables