#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 51 of file NetInterface.cpp.
00052 : fTable(HashTable::create(ONE_WORD_HASH_KEYS)) { 00053 }
| DirectedNetInterfaceSet::~DirectedNetInterfaceSet | ( | ) | [virtual] |
Definition at line 55 of file NetInterface.cpp.
References fTable.
00055 { 00056 delete fTable; 00057 }
| DirectedNetInterface * DirectedNetInterfaceSet::Add | ( | DirectedNetInterface const * | interf | ) |
Definition at line 60 of file NetInterface.cpp.
References HashTable::Add(), and fTable.
00060 { 00061 return (DirectedNetInterface*) fTable->Add((char*)interf, (void*)interf); 00062 }
| 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