Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

libtriple Namespace Reference

Contains the definition of a template for a triple (a vector of three elements). More...


Compounds

struct  libtriple::triple
 A triple template. More...


Functions

template<class _T1, class _T2, class _T3> bool operator== (const triple< _T1, _T2, _T3 > &__x, const triple< _T1, _T2, _T3 > &__y)
 Redefines == operator for triples. More...

template<class _T1, class _T2, class _T3> bool operator< (const triple< _T1, _T2, _T3 > &__x, const triple< _T1, _T2, _T3 > &__y)
 Redefines < operator for triples. More...

template<class _T1, class _T2, class _T3> triple< _T1, _T2, _T3 > make_triple (const _T1 &__x, const _T2 &__y, const _T3 &__z)
 Makes a triple from given parameters. More...


Detailed Description

Contains the definition of a template for a triple (a vector of three elements).

Author:
LCG's EIS group. CERN.
Version:
1.0
Date:
2004.


Function Documentation

template<class _T1, class _T2, class _T3>
triple<_T1, _T2, _T3> make_triple const _T1 &    __x,
const _T2 &    __y,
const _T3 &    __z
[inline]
 

Makes a triple from given parameters.

Parameters:
__x  an object to be used as x item.
__y  an object to be used as y item.
__z  an object to be used as z item.
Returns:
a triple made by the three given objects.

Definition at line 70 of file LibTriple.h.

template<class _T1, class _T2, class _T3>
bool operator< const triple< _T1, _T2, _T3 > &    __x,
const triple< _T1, _T2, _T3 > &    __y
[inline]
 

Redefines < operator for triples.

Returns true if given x triple is less than y triple.

Parameters:
__x  a triple.
__y  a triple.
Returns:
true if given x triple is less than y triple, false otherwise.

Definition at line 54 of file LibTriple.h.

template<class _T1, class _T2, class _T3>
bool operator== const triple< _T1, _T2, _T3 > &    __x,
const triple< _T1, _T2, _T3 > &    __y
[inline]
 

Redefines == operator for triples.

Returns true if given x triple equals y triple.

Parameters:
__x  a triple.
__y  a triple.
Returns:
true if given x triple equals y triple, false otherwise.

Definition at line 40 of file LibTriple.h.


Generated on Tue Oct 5 14:42:45 2004 for LCG Information System Interface by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002