class _ClientGroupList

Parent Previous Next


Class _ClientGroupList


Class _ClientGroupList parameter:

Return type

Name

Description

rrTime

settingsFileDate

Date/Time of the group settings file loaded/saved.

UInt16

count

Get/set the number of groups



Class _ClientGroupList functions:

Return type

Name

Description

_ClientGroup

clientGroup(int idx)

Get client group at idx


clientGroupSet(int idx, _ClientGroup group)

Replace client group at idx with group.

int

clientGroupsMax()

Returns the maximum number of possible groups in this RR version

bool

loadFromFile(string FileName)

Loads the stats from file FileName.
Not available in module libPyRR.

bool

saveToFile(string FileName)

Saves the stats into file FileName.
Not available in module libPyRR.

string

getError()

Returns the error message in case the loadFromFile() or SaveToFile() fails.

string

groupsOfClient(string clientName)

Returns a comma separated list of groups of which the client is a member of




Class _ClientGroup



Class _ClientGroup functions:

Return type

Name

Description


clear ()

Remove all clients from the group

rrString25

getName ()

Get the name of the group


setName (rrString25)

Set the name of the group

rrString50

getClientName (int idx)

Get client name at list idx


addClient (rrString50 name)

Add client "name" to the group


removeClient (rrString50 name)

Remove client with name "name" from the group

 

removeClientbyID (int idx)

Remove client at list idx from the group

int

count()

Number of Clients in group

bool

isAssigned_GlobalList  (int global-idx)

There are two lists of clients.
a) 
This class contains a list of client names that are member of this group.
You can access this list with the functions listed above.
b)
And there is a global client list in RR with all clients. 
With this function, you can check if a client at index global-idx in the global list is a member of this group.