Rosetta 3.3
Public Types | Public Member Functions | Friends
utility::keys::Key3Tuple< K1, K2, K3 > Class Template Reference

3-tuple meta-key More...

#include <Key3Tuple.hh>

Collaboration diagram for utility::keys::Key3Tuple< K1, K2, K3 >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef K1 Key1
typedef K2 Key2
typedef K3 Key3

Public Member Functions

 Key3Tuple ()
 Default constructor.
 Key3Tuple (Key1 const &key1_a, Key2 const &key2_a, Key3 const &key3_a)
 Key constructor.
 ~Key3Tuple ()
 Destructor.
Key1 const & key1 () const
 Key 1.
Key1key1 ()
 Key 1.
Key2 const & key2 () const
 Key 2.
Key2key2 ()
 Key 2.
Key3 const & key3 () const
 Key 3.
Key3key3 ()
 Key 3.

Friends

bool operator== (Key3Tuple const &a, Key3Tuple const &b)
 Key3Tuple == Key3Tuple.
bool operator!= (Key3Tuple const &a, Key3Tuple const &b)
 Key3Tuple != Key3Tuple.
bool operator< (Key3Tuple const &a, Key3Tuple const &b)
 Key3Tuple < Key3Tuple.

Detailed Description

template<typename K1, typename K2, typename K3>
class utility::keys::Key3Tuple< K1, K2, K3 >

3-tuple meta-key


Member Typedef Documentation

template<typename K1 , typename K2 , typename K3 >
typedef K1 utility::keys::Key3Tuple< K1, K2, K3 >::Key1
template<typename K1 , typename K2 , typename K3 >
typedef K2 utility::keys::Key3Tuple< K1, K2, K3 >::Key2
template<typename K1 , typename K2 , typename K3 >
typedef K3 utility::keys::Key3Tuple< K1, K2, K3 >::Key3

Constructor & Destructor Documentation

template<typename K1 , typename K2 , typename K3 >
utility::keys::Key3Tuple< K1, K2, K3 >::Key3Tuple ( ) [inline]

Default constructor.

Note:
Only works if Keys have default constructors
template<typename K1 , typename K2 , typename K3 >
utility::keys::Key3Tuple< K1, K2, K3 >::Key3Tuple ( Key1 const &  key1_a,
Key2 const &  key2_a,
Key3 const &  key3_a 
) [inline]

Key constructor.

template<typename K1 , typename K2 , typename K3 >
utility::keys::Key3Tuple< K1, K2, K3 >::~Key3Tuple ( ) [inline]

Destructor.


Member Function Documentation

template<typename K1 , typename K2 , typename K3 >
Key1 const& utility::keys::Key3Tuple< K1, K2, K3 >::key1 ( ) const [inline]

Key 1.

template<typename K1 , typename K2 , typename K3 >
Key1& utility::keys::Key3Tuple< K1, K2, K3 >::key1 ( ) [inline]

Key 1.

template<typename K1 , typename K2 , typename K3 >
Key2& utility::keys::Key3Tuple< K1, K2, K3 >::key2 ( ) [inline]

Key 2.

template<typename K1 , typename K2 , typename K3 >
Key2 const& utility::keys::Key3Tuple< K1, K2, K3 >::key2 ( ) const [inline]

Key 2.

template<typename K1 , typename K2 , typename K3 >
Key3& utility::keys::Key3Tuple< K1, K2, K3 >::key3 ( ) [inline]

Key 3.

template<typename K1 , typename K2 , typename K3 >
Key3 const& utility::keys::Key3Tuple< K1, K2, K3 >::key3 ( ) const [inline]

Key 3.


Friends And Related Function Documentation

template<typename K1 , typename K2 , typename K3 >
bool operator!= ( Key3Tuple< K1, K2, K3 > const &  a,
Key3Tuple< K1, K2, K3 > const &  b 
) [friend]
template<typename K1 , typename K2 , typename K3 >
bool operator< ( Key3Tuple< K1, K2, K3 > const &  a,
Key3Tuple< K1, K2, K3 > const &  b 
) [friend]

Key3Tuple < Key3Tuple.

Note:
Lexicographic (full) ordering => Key3Tuple is suitable for use as a map key or set element
template<typename K1 , typename K2 , typename K3 >
bool operator== ( Key3Tuple< K1, K2, K3 > const &  a,
Key3Tuple< K1, K2, K3 > const &  b 
) [friend]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines