Public Member Functions | Public Attributes

KPair< S, T > Class Template Reference

Search for all occurrences

Detailed Description

template<typename S, typename T>
class KPair< S, T >

Definition at line 46 of file kpair.h.

#include <kpair.h>

List of all members.

Public Member Functions

  KPair ()
  KPair (S const &pFirst, T const &pSecond)
KPair< S, T > &  operator= (KPair< S, T > const &pPair)

Public Attributes

mFirst
mSecond

Constructor & Destructor Documentation

KPair ( ) [inline]

Definition at line 49 of file kpair.h.

: mFirst(), mSecond() {}
KPair ( S const &  pFirst,
T const &  pSecond 
) [inline]

Definition at line 50 of file kpair.h.

: mFirst(pFirst), mSecond(pSecond) {}

Member Function Documentation

KPair<S,T>& operator= ( KPair< S, T > const &  pPair ) [inline]

Definition at line 52 of file kpair.h.

    {
        mFirst = pPair.mFirst;
        mSecond = pPair.mSecond;

        return *this;
    }

Member Data Documentation

S mFirst

Definition at line 60 of file kpair.h.

Definition at line 61 of file kpair.h.


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