Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <IcePairs.h>
Public Member Functions | |
Pairs () | |
~Pairs () | |
inline_ udword | GetNbPairs () const |
inline_ const Pair * | GetPairs () const |
inline_ const Pair * | GetPair (udword i) const |
inline_ BOOL | HasPairs () const |
inline_ void | ResetPairs () |
inline_ void | DeleteLastPair () |
inline_ void | AddPair (const Pair &p) |
inline_ void | AddPair (udword id0, udword id1) |
Additional Inherited Members | |
![]() | |
Container () | |
Container (const Container &object) | |
Container (udword size, float growth_factor) | |
~Container () | |
inline_ Container & | Add (udword entry) |
inline_ Container & | Add (const udword *entries, udword nb) |
inline_ Container & | Add (float entry) |
inline_ Container & | Add (const float *entries, udword nb) |
inline_ Container & | AddUnique (udword entry) |
Add unique [slow]. More... | |
Container & | Empty () |
inline_ void | Reset () |
inline_ void | ForceSize (udword size) |
bool | SetSize (udword nb) |
bool | Refit () |
bool | Contains (udword entry, udword *location=null) const |
bool | Delete (udword entry) |
bool | DeleteKeepingOrder (udword entry) |
inline_ void | DeleteLastEntry () |
Deletes the very last entry. More... | |
inline_ void | DeleteIndex (udword index) |
Deletes the entry whose index is given. More... | |
Container & | FindNext (udword &entry, FindMode find_mode=FIND_CLAMP) |
Container & | FindPrev (udword &entry, FindMode find_mode=FIND_CLAMP) |
inline_ udword | GetNbEntries () const |
Returns the current number of entries. More... | |
inline_ udword | GetEntry (udword i) const |
Returns ith entry. More... | |
inline_ udword * | GetEntries () const |
Returns the list of entries. More... | |
inline_ udword | GetFirst () const |
inline_ udword | GetLast () const |
inline_ float | GetGrowthFactor () const |
Returns the growth factor. More... | |
inline_ void | SetGrowthFactor (float growth) |
Sets the growth factor. More... | |
inline_ bool | IsFull () const |
Checks the container is full. More... | |
inline_ BOOL | IsNotEmpty () const |
Checks the container is empty. More... | |
inline_ udword | operator[] (udword i) const |
Read-access as an array. More... | |
inline_ udword & | operator[] (udword i) |
Write-access as an array. More... | |
udword | GetUsedRam () const |
void | operator= (const Container &object) |
Operator for "Container A = Container B". More... | |
inline_ udword | GetNbContainers () const |
inline_ udword | GetTotalBytes () const |
Definition at line 25 of file IcePairs.h.
|
inline |
Definition at line 29 of file IcePairs.h.
|
inline |
Definition at line 30 of file IcePairs.h.
Definition at line 41 of file IcePairs.h.
References Container::Add(), Pair::id0, and Pair::id1.
Referenced by Opcode::SAP_PairData::DumpPairs().
|
inline |
Definition at line 32 of file IcePairs.h.
References Container::GetNbEntries().
Referenced by Opcode::SweepAndPrune::Init().
Definition at line 34 of file IcePairs.h.
References Container::GetEntries().
Referenced by Opcode::SweepAndPrune::Init().
|
inline |