DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Public Attributes
OFPair< K, V > Class Template Reference

a pair - this implements parts of std::pair's interface. More...

List of all members.

Public Member Functions

 OFPair ()
 default constructor
 OFPair (const K &f, const V &s)
 construct a OFPair for the two given values
template<class OK , class OV >
 OFPair (const OFPair< OK, OV > &p)
 copy constructor
OFPair< K, V > & operator= (const OFPair< K, V > &other)
 assignment operator

Public Attributes

first
 this is the first value of the pair
second
 this is the second value of the pair

Detailed Description

template<typename K, typename V>
class OFPair< K, V >

a pair - this implements parts of std::pair's interface.


Constructor & Destructor Documentation

template<typename K , typename V >
OFPair< K, V >::OFPair ( const K &  f,
const V &  s 
) [inline]

construct a OFPair for the two given values

Parameters:
fthe value for first.
sthe value for second.
template<typename K , typename V >
template<class OK , class OV >
OFPair< K, V >::OFPair ( const OFPair< OK, OV > &  p) [inline]

copy constructor

Parameters:
pOther OFPair to copy from.

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


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027