CMS 3D CMS Logo

List of all members | Public Member Functions
DDValuePair Struct Reference

#include <DDValuePair.h>

Inheritance diagram for DDValuePair:

Public Member Functions

 DDValuePair ()
 
 DDValuePair (const std::string &s, double d)
 
 DDValuePair (const std::string &s)
 
 DDValuePair (double d)
 
 operator const double & () const
 
 operator const std::string & () const
 
 operator double & ()
 
 operator std::string & ()
 

Detailed Description

Definition at line 8 of file DDValuePair.h.

Constructor & Destructor Documentation

◆ DDValuePair() [1/4]

DDValuePair::DDValuePair ( )
inline

Definition at line 9 of file DDValuePair.h.

9 {}

◆ DDValuePair() [2/4]

DDValuePair::DDValuePair ( const std::string &  s,
double  d 
)
inline

Definition at line 10 of file DDValuePair.h.

10 : std::pair<std::string, double>(s, d) {}
d
Definition: ztail.py:151

◆ DDValuePair() [3/4]

DDValuePair::DDValuePair ( const std::string &  s)
inline

Definition at line 11 of file DDValuePair.h.

11 : std::pair<std::string, double>(s, 0) {}

◆ DDValuePair() [4/4]

DDValuePair::DDValuePair ( double  d)
inline

Definition at line 12 of file DDValuePair.h.

12 : std::pair<std::string, double>("", d) {}
d
Definition: ztail.py:151

Member Function Documentation

◆ operator const double &()

DDValuePair::operator const double & ( ) const
inline

Definition at line 16 of file DDValuePair.h.

References edm::second().

16 { return second; }
U second(std::pair< T, U > const &p)

◆ operator const std::string &()

DDValuePair::operator const std::string & ( ) const
inline

Definition at line 14 of file DDValuePair.h.

References first.

14 { return first; }

◆ operator double &()

DDValuePair::operator double & ( )
inline

Definition at line 17 of file DDValuePair.h.

References edm::second().

17 { return second; }
U second(std::pair< T, U > const &p)

◆ operator std::string &()

DDValuePair::operator std::string & ( )
inline

Definition at line 15 of file DDValuePair.h.

References first.

15 { return first; }