CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::DDValuePair ( )
inline

Definition at line 9 of file DDValuePair.h.

9 {}
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) {}
tuple d
Definition: ztail.py:151
DDValuePair::DDValuePair ( const std::string &  s)
inline

Definition at line 11 of file DDValuePair.h.

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

Definition at line 12 of file DDValuePair.h.

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

Member Function Documentation

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)
DDValuePair::operator const std::string & ( ) const
inline

Definition at line 14 of file DDValuePair.h.

References first.

14 { return first; }
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)
DDValuePair::operator std::string & ( )
inline

Definition at line 15 of file DDValuePair.h.

References first.

15 { return first; }