utility::triple< _T1, _T2, _T3 > Struct Template Reference

triple holds three objects of arbitrary type. More...

#include <triple.h>

List of all members.

Public Types

typedef _T1 first_type
 first_type is the first bound type
typedef _T2 second_type
 second_type is the second bound type
typedef _T3 third_type
 third_type is the third bound type

Public Member Functions

 triple ()
 triple (const _T1 &__a, const _T2 &__b, const _T3 &__c)
template<class _U1, class _U2, class _U3>
 triple (const triple< _U1, _U2, _U3 > &__p)

Public Attributes

_T1 first
 first is a copy of the first object
_T2 second
 second is a copy of the second object
_T3 third
 third is a copy of the third object


Detailed Description

template<class _T1, class _T2, class _T3>
struct utility::triple< _T1, _T2, _T3 >

triple holds three objects of arbitrary type.

Definition at line 25 of file triple.h.


Member Typedef Documentation

template<class _T1, class _T2, class _T3>
typedef _T1 utility::triple< _T1, _T2, _T3 >::first_type

first_type is the first bound type

Definition at line 26 of file triple.h.

template<class _T1, class _T2, class _T3>
typedef _T2 utility::triple< _T1, _T2, _T3 >::second_type

second_type is the second bound type

Definition at line 27 of file triple.h.

template<class _T1, class _T2, class _T3>
typedef _T3 utility::triple< _T1, _T2, _T3 >::third_type

third_type is the third bound type

Definition at line 28 of file triple.h.


Constructor & Destructor Documentation

template<class _T1, class _T2, class _T3>
utility::triple< _T1, _T2, _T3 >::triple (  )  [inline]

Definition at line 39 of file triple.h.

template<class _T1, class _T2, class _T3>
utility::triple< _T1, _T2, _T3 >::triple ( const _T1 &  __a,
const _T2 &  __b,
const _T3 &  __c 
) [inline]

Three objects may be passed to a triple constructor to be copied.

Definition at line 42 of file triple.h.

template<class _T1, class _T2, class _T3>
template<class _U1, class _U2, class _U3>
utility::triple< _T1, _T2, _T3 >::triple ( const triple< _U1, _U2, _U3 > &  __p  )  [inline]

There is also a templated copy ctor for the triple class itself.

Definition at line 46 of file triple.h.


Member Data Documentation

template<class _T1, class _T2, class _T3>
_T1 utility::triple< _T1, _T2, _T3 >::first

first is a copy of the first object

Definition at line 30 of file triple.h.

Referenced by utility::operator==().

template<class _T1, class _T2, class _T3>
_T2 utility::triple< _T1, _T2, _T3 >::second

second is a copy of the second object

Definition at line 31 of file triple.h.

Referenced by utility::operator==().

template<class _T1, class _T2, class _T3>
_T3 utility::triple< _T1, _T2, _T3 >::third

third is a copy of the third object

Definition at line 32 of file triple.h.

Referenced by utility::operator==().


The documentation for this struct was generated from the following file:
Generated on Fri Oct 26 13:35:18 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7