Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes
quartet< T1, T2, T3, T4 > Class Template Reference

#include <ntuple.hpp>

Collaboration diagram for quartet< T1, T2, T3, T4 >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 quartet (const quartet &q)
 quartet (const T1 &y1, const T2 &y2, const T3 &y3, const T4 &y4)
quartetoperator= (const quartet &q)
bool operator== (const quartet &q)
bool operator!= (const quartet &q)

Public Attributes

T1 x1
T2 x2
T3 x3
T4 x4

Detailed Description

template<class T1, class T2, class T3, class T4>
class quartet< T1, T2, T3, T4 >

Definition at line 63 of file ntuple.hpp.


Constructor & Destructor Documentation

template<class T1, class T2, class T3, class T4>
quartet< T1, T2, T3, T4 >::quartet ( const quartet< T1, T2, T3, T4 > &  q) [inline]

Definition at line 66 of file ntuple.hpp.

                                   :
    x1 (q.x1), x2 (q.x2), x3 (q.x3), x4 (q.x4) {}
template<class T1, class T2, class T3, class T4>
quartet< T1, T2, T3, T4 >::quartet ( const T1 &  y1,
const T2 &  y2,
const T3 &  y3,
const T4 &  y4 
) [inline]

Definition at line 68 of file ntuple.hpp.

                                                                         :
    x1 (y1), x2 (y2), x3 (y3), x4 (y4) {}

Member Function Documentation

template<class T1, class T2, class T3, class T4>
bool quartet< T1, T2, T3, T4 >::operator!= ( const quartet< T1, T2, T3, T4 > &  q) [inline]

Definition at line 74 of file ntuple.hpp.

                                             {
    return x1 != q.x1 || x2 != q.x2 || x3 != q.x3 || x4 != q.x4; }
template<class T1, class T2, class T3, class T4>
quartet& quartet< T1, T2, T3, T4 >::operator= ( const quartet< T1, T2, T3, T4 > &  q) [inline]

Definition at line 70 of file ntuple.hpp.

                                                {
    x1= q.x1; x2= q.x2; x3= q.x3; x4= q.x4; return *this; }
template<class T1, class T2, class T3, class T4>
bool quartet< T1, T2, T3, T4 >::operator== ( const quartet< T1, T2, T3, T4 > &  q) [inline]

Definition at line 72 of file ntuple.hpp.

                                             {
    return x1 == q.x1 && x2 == q.x2 && x3 == q.x3 && x4 == q.x4; }

Member Data Documentation

template<class T1, class T2, class T3, class T4>
T1 quartet< T1, T2, T3, T4 >::x1

Definition at line 65 of file ntuple.hpp.

template<class T1, class T2, class T3, class T4>
T2 quartet< T1, T2, T3, T4 >::x2

Definition at line 65 of file ntuple.hpp.

template<class T1, class T2, class T3, class T4>
T3 quartet< T1, T2, T3, T4 >::x3

Definition at line 65 of file ntuple.hpp.

template<class T1, class T2, class T3, class T4>
T4 quartet< T1, T2, T3, T4 >::x4

Definition at line 65 of file ntuple.hpp.


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