Open Babel  3.0
Public Types | Public Member Functions | Public Attributes | List of all members
triple< T1, T2, T3 > Class Template Reference

#include <openbabel/obutil.h>

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

◆ first_type

typedef T1 first_type

◆ second_type

typedef T2 second_type

◆ third_type

typedef T3 third_type

Constructor & Destructor Documentation

◆ triple() [1/3]

triple ( )
inline

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

◆ triple() [2/3]

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

Constructor for 3 values.

◆ triple() [3/3]

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

Copy constructor with implicit conversions.

Member Data Documentation

◆ first

T1 first

◆ second

T2 second

◆ third

T3 third

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