DCMTK  Version 3.6.1 20121102
OFFIS DICOM Toolkit
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
OFPair< K, V > Class Template Reference

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

Public Member Functions

 OFPair ()
 default constructor
 
 OFPair (const K &f, const V &s)
 construct a OFPair for the two given values More...
 
template<class OK , class OV >
 OFPair (const OFPair< OK, OV > &p)
 copy constructor More...
 
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 Wed Sep 4 2013 for DCMTK Version 3.6.1 20121102 by Doxygen 1.8.4