PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::Pair< Key, T > Class Template Reference

#include <Pair.h>

Public Member Functions

DYN_FUNC Pair ()
 
DYN_FUNC Pair (Key key, T val)
 
DYN_FUNC bool operator>= (const Pair &other) const
 
DYN_FUNC bool operator> (const Pair &other) const
 
DYN_FUNC bool operator<= (const Pair &other) const
 
DYN_FUNC bool operator< (const Pair &other) const
 
DYN_FUNC bool operator== (const Pair &other) const
 
DYN_FUNC bool operator!= (const Pair &other) const
 

Public Attributes

Key first
 
T second
 

Detailed Description

template<typename Key, typename T>
class dyno::Pair< Key, T >

Definition at line 9 of file Pair.h.

Constructor & Destructor Documentation

◆ Pair() [1/2]

template<typename Key, typename T>
DYN_FUNC dyno::Pair< Key, T >::Pair ( )
inline

Definition at line 12 of file Pair.h.

◆ Pair() [2/2]

template<typename Key, typename T>
DYN_FUNC dyno::Pair< Key, T >::Pair ( Key key,
T val )
inline

Definition at line 13 of file Pair.h.

Member Function Documentation

◆ operator!=()

template<typename Key, typename T>
DYN_FUNC bool dyno::Pair< Key, T >::operator!= ( const Pair< Key, T > & other) const
inline

Definition at line 35 of file Pair.h.

◆ operator<()

template<typename Key, typename T>
DYN_FUNC bool dyno::Pair< Key, T >::operator< ( const Pair< Key, T > & other) const
inline

Definition at line 27 of file Pair.h.

◆ operator<=()

template<typename Key, typename T>
DYN_FUNC bool dyno::Pair< Key, T >::operator<= ( const Pair< Key, T > & other) const
inline

Definition at line 23 of file Pair.h.

◆ operator==()

template<typename Key, typename T>
DYN_FUNC bool dyno::Pair< Key, T >::operator== ( const Pair< Key, T > & other) const
inline

Definition at line 31 of file Pair.h.

◆ operator>()

template<typename Key, typename T>
DYN_FUNC bool dyno::Pair< Key, T >::operator> ( const Pair< Key, T > & other) const
inline

Definition at line 19 of file Pair.h.

◆ operator>=()

template<typename Key, typename T>
DYN_FUNC bool dyno::Pair< Key, T >::operator>= ( const Pair< Key, T > & other) const
inline

Definition at line 15 of file Pair.h.

Member Data Documentation

◆ first

template<typename Key, typename T>
Key dyno::Pair< Key, T >::first

Definition at line 40 of file Pair.h.

◆ second

template<typename Key, typename T>
T dyno::Pair< Key, T >::second

Definition at line 41 of file Pair.h.


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