![]() |
Kigs Framework
Doc version 0.8
Open source multi purpose Rapid Application Development framework
|
#include <AGroupIndexList.h>
Classes | |
class | AGroupInfo |
Public Member Functions | |
AGroupIndexList () | |
~AGroupIndexList () | |
void | AddGroup (IntU32 id, IntU32 intervalcount) |
void | RemoveGroup (IntU32 id) |
void | SetGroupInterval (IntU32 g_id, IntU32 index, IntU32 min, IntU32 max) |
AIndexInterval * | GetGroupIntervals (IntU32 g_id) |
IntU32 | GetGroupIntervalCount (IntU32 g_id) |
Protected Member Functions | |
AGroupInfo * | GetGroupInfo (IntU32 g_id) |
void | AddGroupInfo (AGroupInfo *to_add) |
Class used to store indexes of values for each groups in an AEntitySet
|
inline |
Constructor
|
inline |
Destructor
void AGroupIndexList::AddGroup | ( | IntU32 | id, |
IntU32 | intervalcount | ||
) |
Add a group in the list, with the given id and interval count
|
protected |
add the given groupinfo in the list, the list is sorted by id
|
protected |
return a pointer on the group info with given id
IntU32 AGroupIndexList::GetGroupIntervalCount | ( | IntU32 | g_id | ) |
return the interval count for the given group
AIndexInterval * AGroupIndexList::GetGroupIntervals | ( | IntU32 | g_id | ) |
return a pointer on first interval
void AGroupIndexList::RemoveGroup | ( | IntU32 | id | ) |
Remove the group with given group id
void AGroupIndexList::SetGroupInterval | ( | IntU32 | g_id, |
IntU32 | index, | ||
IntU32 | min, | ||
IntU32 | max | ||
) |
set the given interval for the given group