STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::tuple< T1, T2, T3, T4, T5, T6 > Struct Template Reference

Detailed Description

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
struct stxxl::tuple< T1, T2, T3, T4, T5, T6 >

k-Tuple data type

(defined for k < 7)

Examples:
examples/applications/skew3.cpp.

Definition at line 69 of file tuple.h.

+ Inheritance diagram for stxxl::tuple< T1, T2, T3, T4, T5, T6 >:

Classes

struct  item_type
 

Public Types

typedef T5 fifth_type
 Fifth tuple component type. More...
 
typedef T1 first_type
 First tuple component type. More...
 
typedef T4 fourth_type
 Fourth tuple component type. More...
 
typedef T2 second_type
 Second tuple component type. More...
 
typedef T6 sixth_type
 Sixth tuple component type. More...
 
typedef T3 third_type
 Third tuple component type. More...
 

Public Member Functions

 tuple ()
 Empty constructor. More...
 
 tuple (first_type _first, second_type _second, third_type _third, fourth_type _fourth, fifth_type _fifth, sixth_type _sixth)
 Construct tuple from components. More...
 
bool operator!= (const tuple &t) const
 Inequality comparison. More...
 
bool operator== (const tuple &t) const
 Equality comparison. More...
 

Static Public Member Functions

static tuple max_value ()
 Return maximum value of tuple using numeric_limits. More...
 
static tuple min_value ()
 Return minimum value of tuple using numeric_limits. More...
 

Public Attributes

fifth_type fifth
 Fifth tuple component. More...
 
first_type first
 First tuple component. More...
 
fourth_type fourth
 Fourth tuple component. More...
 
second_type second
 Second tuple component. More...
 
sixth_type sixth
 Sixth tuple component. More...
 
third_type third
 Third tuple component. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const tuple &t)
 Make tuple ostream-able. More...
 

Member Typedef Documentation

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
typedef T5 stxxl::tuple< T1, T2, T3, T4, T5, T6 >::fifth_type

Fifth tuple component type.

Definition at line 80 of file tuple.h.

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
typedef T1 stxxl::tuple< T1, T2, T3, T4, T5, T6 >::first_type

First tuple component type.

Definition at line 72 of file tuple.h.

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
typedef T4 stxxl::tuple< T1, T2, T3, T4, T5, T6 >::fourth_type

Fourth tuple component type.

Definition at line 78 of file tuple.h.

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
typedef T2 stxxl::tuple< T1, T2, T3, T4, T5, T6 >::second_type

Second tuple component type.

Definition at line 74 of file tuple.h.

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
typedef T6 stxxl::tuple< T1, T2, T3, T4, T5, T6 >::sixth_type

Sixth tuple component type.

Definition at line 82 of file tuple.h.

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
typedef T3 stxxl::tuple< T1, T2, T3, T4, T5, T6 >::third_type

Third tuple component type.

Definition at line 76 of file tuple.h.

Constructor & Destructor Documentation

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
stxxl::tuple< T1, T2, T3, T4, T5, T6 >::tuple ( )
inline

Empty constructor.

Definition at line 111 of file tuple.h.

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
stxxl::tuple< T1, T2, T3, T4, T5, T6 >::tuple ( first_type  _first,
second_type  _second,
third_type  _third,
fourth_type  _fourth,
fifth_type  _fifth,
sixth_type  _sixth 
)
inline

Construct tuple from components.

Definition at line 114 of file tuple.h.

Member Function Documentation

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
static tuple stxxl::tuple< T1, T2, T3, T4, T5, T6 >::max_value ( )
inlinestatic

Return maximum value of tuple using numeric_limits.

Definition at line 163 of file tuple.h.

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
static tuple stxxl::tuple< T1, T2, T3, T4, T5, T6 >::min_value ( )
inlinestatic

Return minimum value of tuple using numeric_limits.

Definition at line 152 of file tuple.h.

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
bool stxxl::tuple< T1, T2, T3, T4, T5, T6 >::operator!= ( const tuple< T1, T2, T3, T4, T5, T6 > &  t) const
inline

Inequality comparison.

Definition at line 137 of file tuple.h.

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
bool stxxl::tuple< T1, T2, T3, T4, T5, T6 >::operator== ( const tuple< T1, T2, T3, T4, T5, T6 > &  t) const
inline

Equality comparison.

Definition at line 130 of file tuple.h.

Friends And Related Function Documentation

template<class T1, class T2 = Plug, class T3 = Plug, class T4 = Plug, class T5 = Plug, class T6 = Plug>
std::ostream& operator<< ( std::ostream &  os,
const tuple< T1, T2, T3, T4, T5, T6 > &  t 
)
friend

Make tuple ostream-able.

Definition at line 144 of file tuple.h.

Member Data Documentation


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