Public Member Functions | Public Attributes

FbxPair< S, T > Class Template Reference

Search for all occurrences

Detailed 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.

#include <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:
pFirstThe first object.
pSecondThe 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:
pPairThe 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: