index previous next




file name: idtemp.hpp
classification: simulation
contents: class CNodeList
derived from: class ACObjectList
use: a list class for storing pointers to a nodeID of type SINT32 with the key <SINT32 networkID, addr *nodeAddress>


Note: the class was generated from listtemp.hpp.

For copying the addr pointer, some additions had to be made: in GetCurrentObjectKey(), the address stored in the key had to be copied into the parameter array. And in the ctor of struct SKey, the parameter array was copied into the internal addr array of SKey. Furthermore, a function SKey::CompareTo() was added, since comparing two network addresses must be done through sequentially comparing the bytes.


global items used:


last modified: Fri Feb 5 18:56:20 1999