bbtk::Package::AdaptorKey Class Reference

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

#include <bbtkPackage.h>

Collaboration diagram for bbtk::Package::AdaptorKey:

Collaboration graph
[legend]

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 209 of file bbtkPackage.h.


Constructor & Destructor Documentation

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

Definition at line 212 of file bbtkPackage.h.

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


Member Function Documentation

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

Definition at line 216 of file bbtkPackage.h.

References mKind, mTypeIn, and mTypeOut.

00217       {
00218         return ( ( mKind < k.mKind ) ||
00219                  ( ( mKind == k.mKind ) &&
00220                    ( ( mTypeIn < k.mTypeIn ) ||
00221                      ( ( mTypeIn == k.mTypeIn ) && 
00222                        ( mTypeOut < k.mTypeOut ) ) ) ) );
00223       }

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

Definition at line 225 of file bbtkPackage.h.

References mKind, mTypeIn, and mTypeOut.

00226       {
00227         return ( ( mKind == k.mKind ) && 
00228                  ( mTypeIn == k.mTypeIn ) && 
00229                  ( mTypeOut == k.mTypeOut ) );
00230       }


Member Data Documentation

Definition at line 233 of file bbtkPackage.h.

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

Definition at line 231 of file bbtkPackage.h.

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

Definition at line 232 of file bbtkPackage.h.

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


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

Generated on Thu May 31 14:15:00 2012 for BBTK by  doxygen 1.5.7.1