Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
drwnTriplet< T, U, V > Class Template Reference

Basic datatype for holding three objects of arbitrary type. Similar to the STL pair<> class. More...

Public Member Functions

 drwnTriplet (const T &i, const U &j, const V &k)
 
 drwnTriplet (const drwnTriplet< T, U, V > &t)
 
drwnTriplet< T, U, V > & operator= (const drwnTriplet< T, U, V > &t)
 
bool operator== (const drwnTriplet< T, U, V > &t) const
 
bool operator< (const drwnTriplet< T, U, V > &t) const
 

Public Attributes

first
 first object in the triplet
 
second
 second object in the triplet
 
third
 third object in thr triplet
 

Detailed Description

template<class T, class U = T, class V = T>
class drwnTriplet< T, U, V >

Basic datatype for holding three objects of arbitrary type. Similar to the STL pair<> class.

tuple.first = 1;
tuple.second = 2;
tuple.third = 3;

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