#include <idmap.h>
Inheritance diagram for ABA_IDMAP< Type >:
Public Member Functions | |
ABA_IDMAP (ABA_MASTER *master, int size, int index) | |
~ABA_IDMAP () | |
The destructor. | |
Type * | find (const ABA_ID &id) |
void | insert (const ABA_ID &id, const Type *obj) |
void | insertWithNewId (ABA_ID &id, const Type *obj) |
void | insertAlias (const ABA_ID &id, const ABA_ID &aliasId) |
int | remove (const ABA_ID &id) |
unsigned long | sequence () const |
int | proc () const |
int | index () const |
Private Attributes | |
ABA_MASTER * | master_ |
ABA_HASH< ABA_ID, const Type * > | map_ |
unsigned long | sequence_ |
int | proc_ |
int | index_ |
ACE_Thread_Mutex | mp_ |
Friends | |
ostream & | operator<< (ostream &out, const ABA_IDMAP< Type > &idmap) |
Definition at line 60 of file idmap.h.
ABA_IDMAP< Type >::ABA_IDMAP | ( | ABA_MASTER * | master, | |
int | size, | |||
int | index | |||
) |
The constructor.
master | A pointer to the corresponding master object. | |
size | The size of the hashtable used by the map. | |
pool | The index of the pool, if the ABA_ID identifies a constraint/variable. |
id | The identification of the object. | |
obj | A pointer to the object beeing inserted. |
void ABA_IDMAP< Type >::insertAlias | ( | const ABA_ID & | id, | |
const ABA_ID & | aliasId | |||
) |
unsigned long ABA_IDMAP< Type >::sequence | ( | ) | const [inline] |
int ABA_IDMAP< Type >::proc | ( | ) | const [inline] |
int ABA_IDMAP< Type >::index | ( | ) | const [inline] |
ostream& operator<< | ( | ostream & | out, | |
const ABA_IDMAP< Type > & | idmap | |||
) | [friend] |
ABA_MASTER* ABA_IDMAP< Type >::master_ [private] |