QPair< T1, T2 > Struct Template Reference

QPair< T1, T2 > Struct Template Reference

#include <qabstracteventdispatcher.h>

Class Description

template<class T1, class T2>
struct QPair< T1, T2 >

Definition at line 56 of file qabstracteventdispatcher.h.

Public Types

typedef T1 first_type
 
typedef T2 second_type
 

Public Member Functions

 QPair ()
 
 QPair (const T1 &t1, const T2 &t2)
 
QPair< T1, T2 > & operator= (const QPair< T1, T2 > &other)
 

Public Attributes

T1 first
 
T2 second
 

Member Typedef Documentation

typedef T1 first_type

Definition at line 56 of file qpair.h.

typedef T2 second_type

Definition at line 57 of file qpair.h.

Constructor & Destructor Documentation

QPair ( )
inline

Definition at line 59 of file qpair.h.

59 : first(T1()), second(T2()) {}
T1 first
Definition: qpair.h:65
T2 second
Definition: qpair.h:66
QPair ( const T1 &  t1,
const T2 &  t2 
)
inline

Definition at line 60 of file qpair.h.

60 : first(t1), second(t2) {}
T1 first
Definition: qpair.h:65
T2 second
Definition: qpair.h:66

Member Function Documentation

QPair<T1, T2>& operator= ( const QPair< T1, T2 > &  other)
inline

Definition at line 62 of file qpair.h.

63  { first = other.first; second = other.second; return *this; }
T1 first
Definition: qpair.h:65
GLint * first
Definition: GLee.h:1362
T2 second
Definition: qpair.h:66

Member Data Documentation

T1 first

Definition at line 65 of file qpair.h.

T2 second

Definition at line 66 of file qpair.h.


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