triple Class Template Reference

A 3-element templated, based on the design of the STL pair<>. More...

#include <openbabel/obutil.h>

List of all members.

Public Types

typedef T1 first_type
typedef T2 second_type
typedef T3 third_type

Public Member Functions

 triple ()
 triple (const T1 &a, const T2 &b, const T3 &c)
template<class U, class V, class W>
 triple (const triple< U, V, W > &t)

Public Attributes

T1 first
T2 second
T3 third


Detailed Description

template<class T1, class T2, class T3>
class OpenBabel::triple< T1, T2, T3 >

A 3-element templated, based on the design of the STL pair<>.


Member Typedef Documentation

typedef T1 first_type

typedef T2 second_type

typedef T3 third_type


Constructor & Destructor Documentation

triple (  )  [inline]

Default constructor T1() and T2() and T3() force initialization for built in types

triple ( const T1 &  a,
const T2 &  b,
const T3 &  c 
) [inline]

Constructor for 3 values.

triple ( const triple< U, V, W > &  t  )  [inline]

Copy constructor with implicit conversions.


Member Data Documentation

T1 first

T2 second

T3 third


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