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)
 
 DDValuePair (const std::string &s, double d)
 
 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) {}

◆ 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) {}

Member Function Documentation

◆ operator const double &()

DDValuePair::operator const double & ( ) const
inline

Definition at line 16 of file DDValuePair.h.

16 { return second; }

References edm::second().

◆ operator const std::string &()

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

Definition at line 14 of file DDValuePair.h.

14 { return first; }

References first.

◆ operator double &()

DDValuePair::operator double & ( )
inline

Definition at line 17 of file DDValuePair.h.

17 { return second; }

References edm::second().

◆ operator std::string &()

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

Definition at line 15 of file DDValuePair.h.

15 { return first; }

References first.

edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
alignCSCRings.s
s
Definition: alignCSCRings.py:92
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:125
ztail.d
d
Definition: ztail.py:151