bbtk::Package::AdaptorKey Class Reference

The type of key in the map of adaptor descriptors. More...

#include <bbtkPackage.h>

List of all members.

Public Member Functions

 AdaptorKey (const DataInfo &typein, const DataInfo &typeout, BlackBoxDescriptor::Kind kind)
bool operator< (const AdaptorKey &k) const
bool operator== (const AdaptorKey &k) const

Public Attributes

DataInfo mTypeIn
DataInfo mTypeOut
BlackBoxDescriptor::Kind mKind


Detailed Description

The type of key in the map of adaptor descriptors.

Definition at line 186 of file bbtkPackage.h.


Constructor & Destructor Documentation

bbtk::Package::AdaptorKey::AdaptorKey ( const DataInfo typein,
const DataInfo typeout,
BlackBoxDescriptor::Kind  kind 
) [inline]

Definition at line 189 of file bbtkPackage.h.

00191         : mTypeIn(typein), mTypeOut(typeout), mKind(kind) {}


Member Function Documentation

bool bbtk::Package::AdaptorKey::operator< ( const AdaptorKey k  )  const [inline]

Definition at line 193 of file bbtkPackage.h.

References mKind, mTypeIn, and mTypeOut.

00194       {
00195         return ( ( mKind < k.mKind ) ||
00196                  ( ( mKind == k.mKind ) &&
00197                    ( ( mTypeIn < k.mTypeIn ) ||
00198                      ( ( mTypeIn == k.mTypeIn ) && 
00199                        ( mTypeOut < k.mTypeOut ) ) ) ) );
00200       }

bool bbtk::Package::AdaptorKey::operator== ( const AdaptorKey k  )  const [inline]

Definition at line 202 of file bbtkPackage.h.

References mKind, mTypeIn, and mTypeOut.

00203       {
00204         return ( ( mKind == k.mKind ) && 
00205                  ( mTypeIn == k.mTypeIn ) && 
00206                  ( mTypeOut == k.mTypeOut ) );
00207       }


Member Data Documentation

DataInfo bbtk::Package::AdaptorKey::mTypeIn

Definition at line 208 of file bbtkPackage.h.

Referenced by operator<(), and operator==().

DataInfo bbtk::Package::AdaptorKey::mTypeOut

Definition at line 209 of file bbtkPackage.h.

Referenced by operator<(), and operator==().

BlackBoxDescriptor::Kind bbtk::Package::AdaptorKey::mKind

Definition at line 210 of file bbtkPackage.h.

Referenced by operator<(), and operator==().


The documentation for this class was generated from the following file:

Generated on Wed Nov 12 11:38:51 2008 for BBTK by  doxygen 1.5.6