FbxPair< S, T > Class Template Reference
 
 
 
FbxPair< S, T > Class Template Reference

#include <fbxpair.h>


Class Description

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

This class template holds a pair of objects.

Definition at line 23 of file fbxpair.h.

List of all members.

Public Member Functions

  FbxPair ()
  Constructor.
  FbxPair (const S &pFirst, const T &pSecond)
  Constructor.
FbxPair< S, T > &  operator= (const FbxPair< S, T > &pPair)
  Assignment operator.

Public Attributes

mFirst
  The first object in the pair.
mSecond
  The second object in the pair.

Constructor & Destructor Documentation

FbxPair ( ) [inline]

Constructor.

Definition at line 27 of file fbxpair.h.

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

Constructor.

Parameters:
pFirst The first object.
pSecond The second object.

Definition at line 33 of file fbxpair.h.

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

Member Function Documentation

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

Assignment operator.

Parameters:
pPair The pair to be copied.

Definition at line 38 of file fbxpair.h.

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

                return *this;
        }

Member Data Documentation

S mFirst

The first object in the pair.

Definition at line 47 of file fbxpair.h.

The second object in the pair.

Definition at line 49 of file fbxpair.h.


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