quad Class Template Reference

A 4-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
typedef T4 fourth_type

Public Member Functions

 quad ()
 quad (const T1 &a, const T2 &b, const T3 &c, const T4 &d)
template<class U, class V, class W, class X>
 quad (const quad< U, V, W, X > &q)

Public Attributes

T1 first
T2 second
T3 third
T4 fourth


Detailed Description

template<class T1, class T2, class T3, class T4>
class OpenBabel::quad< T1, T2, T3, T4 >

A 4-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

typedef T4 fourth_type


Constructor & Destructor Documentation

quad (  )  [inline]

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

quad ( const T1 &  a,
const T2 &  b,
const T3 &  c,
const T4 &  d 
) [inline]

constructor for 3 values

quad ( const quad< U, V, W, X > &  q  )  [inline]

copy constructor with implicit conversions


Member Data Documentation

T1 first

T2 second

T3 third

T4 fourth


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