#include <NetInterface.hh>
Collaboration diagram for DirectedNetInterfaceSet:

Public Member Functions | |
| DirectedNetInterfaceSet () | |
| virtual | ~DirectedNetInterfaceSet () |
| DirectedNetInterface * | Add (DirectedNetInterface const *interf) |
| Boolean | Remove (DirectedNetInterface const *interf) |
| Boolean | IsEmpty () |
Private Attributes | |
| HashTable * | fTable |
Friends | |
| class | Iterator |
Data Structures | |
| class | Iterator |
Definition at line 52 of file NetInterface.hh.
| DirectedNetInterfaceSet::DirectedNetInterfaceSet | ( | ) |
Definition at line 58 of file NetInterface.cpp.
00059 : fTable(HashTable::create(ONE_WORD_HASH_KEYS)) { 00060 }
| DirectedNetInterfaceSet::~DirectedNetInterfaceSet | ( | ) | [virtual] |
Definition at line 62 of file NetInterface.cpp.
References fTable.
00062 { 00063 delete fTable; 00064 }
| DirectedNetInterface * DirectedNetInterfaceSet::Add | ( | DirectedNetInterface const * | interf | ) |
Definition at line 67 of file NetInterface.cpp.
References HashTable::Add(), and fTable.
00067 { 00068 return (DirectedNetInterface*) fTable->Add((char*)interf, (void*)interf); 00069 }
| Boolean DirectedNetInterfaceSet::Remove | ( | DirectedNetInterface const * | interf | ) |
| Boolean DirectedNetInterfaceSet::IsEmpty | ( | ) | [inline] |
friend class Iterator [friend] |
Definition at line 76 of file NetInterface.hh.
HashTable* DirectedNetInterfaceSet::fTable [private] |
Definition at line 77 of file NetInterface.hh.
Referenced by Add(), IsEmpty(), Remove(), and ~DirectedNetInterfaceSet().
1.5.2