flext
0.6.0
|
#include <flclass.h>
Public Member Functions | |
ItemCont () | |
~ItemCont () | |
int | Min () const |
int | Max () const |
bool | Contained (int i) const |
void | Add (Item *it, const t_symbol *tag, int inlet=0) |
Add an entry. More... | |
bool | Remove (Item *it, const t_symbol *tag, int inlet, bool free) |
Remove an entry. More... | |
Item * | FindList (const t_symbol *tag, int inlet=0) |
Find an entry list in the Item array. More... | |
ItemSet & | GetInlet (int inlet=0) |
Get list for an inlet. More... | |
int | Members () const |
Get counter for total members (for index of new item) More... | |
Protected Member Functions | |
void | Resize (int nsz) |
Protected Attributes | |
int | members |
int | memsize |
int | size |
ItemSet ** | cont |
This class holds hashed item entries
flext_base::ItemCont::ItemCont | ( | ) |
flext_base::ItemCont::~ItemCont | ( | ) |
void flext_base::ItemCont::Add | ( | Item * | it, |
const t_symbol * | tag, | ||
int | inlet = 0 |
||
) |
Add an entry.
|
inline |
flext_base::Item * flext_base::ItemCont::FindList | ( | const t_symbol * | tag, |
int | inlet = 0 |
||
) |
Find an entry list in the Item array.
|
inline |
Get list for an inlet.
|
inline |
|
inline |
Get counter for total members (for index of new item)
|
inline |
bool flext_base::ItemCont::Remove | ( | Item * | it, |
const t_symbol * | tag, | ||
int | inlet, | ||
bool | free | ||
) |
Remove an entry.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |