Lolly 1.4.27
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
triple< T1, T2, T3 > Class Template Reference

#include <ntuple.hpp>

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

Public Member Functions

 triple (const triple &t)
 
 triple (const T1 &y1, const T2 &y2, const T3 &y3)
 
tripleoperator= (const triple &t)
 
bool operator== (const triple &t)
 
bool operator!= (const triple &t)
 

Public Attributes

T1 x1
 
T2 x2
 
T3 x3
 

Detailed Description

template<class T1, class T2, class T3>
class triple< T1, T2, T3 >

Definition at line 44 of file ntuple.hpp.

Constructor & Destructor Documentation

◆ triple() [1/2]

template<class T1 , class T2 , class T3 >
triple< T1, T2, T3 >::triple ( const triple< T1, T2, T3 > & t)
inline

Definition at line 49 of file ntuple.hpp.

49: x1 (t.x1), x2 (t.x2), x3 (t.x3) {}
blackbox t[13]
T1 x1
Definition ntuple.hpp:46
T2 x2
Definition ntuple.hpp:47
T3 x3
Definition ntuple.hpp:48

◆ triple() [2/2]

template<class T1 , class T2 , class T3 >
triple< T1, T2, T3 >::triple ( const T1 & y1,
const T2 & y2,
const T3 & y3 )
inline

Definition at line 50 of file ntuple.hpp.

51 : x1 (y1), x2 (y2), x3 (y3) {}
The list class represents a linked list.
Definition list.hpp:48

Member Function Documentation

◆ operator=()

template<class T1 , class T2 , class T3 >
triple & triple< T1, T2, T3 >::operator= ( const triple< T1, T2, T3 > & t)
inline

Definition at line 52 of file ntuple.hpp.

52 {
53 x1= t.x1;
54 x2= t.x2;
55 x3= t.x3;
56 return *this;
57 }

◆ operator==()

template<class T1 , class T2 , class T3 >
bool triple< T1, T2, T3 >::operator== ( const triple< T1, T2, T3 > & t)
inline

Definition at line 58 of file ntuple.hpp.

58 {
59 return x1 == t.x1 && x2 == t.x2 && x3 == t.x3;
60 }

◆ operator!=()

template<class T1 , class T2 , class T3 >
bool triple< T1, T2, T3 >::operator!= ( const triple< T1, T2, T3 > & t)
inline

Definition at line 61 of file ntuple.hpp.

61 {
62 return x1 != t.x1 || x2 != t.x2 || x3 != t.x3;
63 }

Member Data Documentation

◆ x1

template<class T1 , class T2 , class T3 >
T1 triple< T1, T2, T3 >::x1

Definition at line 46 of file ntuple.hpp.

◆ x2

template<class T1 , class T2 , class T3 >
T2 triple< T1, T2, T3 >::x2

Definition at line 47 of file ntuple.hpp.

◆ x3

template<class T1 , class T2 , class T3 >
T3 triple< T1, T2, T3 >::x3

Definition at line 48 of file ntuple.hpp.


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