Main Page | Modules | Class Hierarchy | Class List | Directories | Class Members | Related Pages | Examples

StreamKeyWrapper Class Reference
[Network Data Structures]

Hack to let me use an STL map for Decomposition. More...

#include <Aggregate.h>

List of all members.

Public Member Functions

 StreamKeyWrapper (const StreamKey &k)
 StreamKeyWrapper (const StreamKeyWrapper &toCopy)
StreamKeyWrapperclone (void) const
StreamKeyWrapperoperator= (const StreamKeyWrapper &rhs)
bool operator== (const StreamKeyWrapper &rhs) const
bool operator< (const StreamKeyWrapper &rhs) const


Detailed Description

Hack to let me use an STL map for Decomposition.

Wrapper class to deal with the fact that we want to use a map keyed by StreamKey, which is a polymorphic base class and thus cannot be used directly (as it'd have to be a pointer for polymorphism to function properly).

Note:
Makes a copy of the StreamKey given to it and destroys that copy when the StreamKeyWrapper itself is destroyed EXCEPT if the StreamKey is NullKey::NULL_KEY. Hey, as long as I'm writing a hack, may as well make it a HACK. :-P


The documentation for this class was generated from the following files:
Generated on Thu Apr 5 01:02:38 2007 for ANTARES by  doxygen 1.4.2