ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DimensionedType< T, ConversionErrorPolicy > Class Template Reference

#include <geant4/tree/geant4-10.6-release/source/graphics_reps/include/G4DimensionedType.hh>

+ Inheritance diagram for G4DimensionedType< T, ConversionErrorPolicy >:
+ Collaboration diagram for G4DimensionedType< T, ConversionErrorPolicy >:

Public Member Functions

 G4DimensionedType ()
 
 G4DimensionedType (const T &value, const G4String &unit)
 
virtual ~G4DimensionedType ()
 
T RawValue () const
 
G4String Unit () const
 
T DimensionedValue () const
 
T operator() () const
 
bool operator== (const G4DimensionedType< T > &rhs) const
 
bool operator!= (const G4DimensionedType< T > &rhs) const
 
bool operator< (const G4DimensionedType< T > &rhs) const
 
bool operator> (const G4DimensionedType< T > &rhs) const
 

Private Attributes

T fValue
 
G4String fUnit
 
T fDimensionedValue
 

Detailed Description

template<typename T, typename ConversionErrorPolicy = G4ConversionFatalError>
class G4DimensionedType< T, ConversionErrorPolicy >

Definition at line 47 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 47 of file G4DimensionedType.hh

Constructor & Destructor Documentation

template<typename T , typename ConversionErrorPolicy >
G4DimensionedType< T, ConversionErrorPolicy >::G4DimensionedType ( )

Definition at line 86 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 86 of file G4DimensionedType.hh

template<typename T , typename ConversionErrorPolicy >
G4DimensionedType< T, ConversionErrorPolicy >::G4DimensionedType ( const T value,
const G4String unit 
)

Definition at line 93 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 93 of file G4DimensionedType.hh

References G4DimensionedType< T, ConversionErrorPolicy >::fDimensionedValue, and G4DimensionedTypeUtils::GetUnitValue().

+ Here is the call graph for this function:

template<typename T , typename ConversionErrorPolicy >
G4DimensionedType< T, ConversionErrorPolicy >::~G4DimensionedType ( )
virtual

Definition at line 106 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 106 of file G4DimensionedType.hh

Member Function Documentation

template<typename T , typename ConversionErrorPolicy >
T G4DimensionedType< T, ConversionErrorPolicy >::DimensionedValue ( ) const

Definition at line 124 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 124 of file G4DimensionedType.hh

template<typename T , typename ConversionErrorPolicy >
bool G4DimensionedType< T, ConversionErrorPolicy >::operator!= ( const G4DimensionedType< T > &  rhs) const

Definition at line 145 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 145 of file G4DimensionedType.hh

References G4DimensionedType< T, ConversionErrorPolicy >::fDimensionedValue.

template<typename T , typename ConversionErrorPolicy >
T G4DimensionedType< T, ConversionErrorPolicy >::operator() ( ) const

Definition at line 131 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 131 of file G4DimensionedType.hh

template<typename T , typename ConversionErrorPolicy >
bool G4DimensionedType< T, ConversionErrorPolicy >::operator< ( const G4DimensionedType< T > &  rhs) const

Definition at line 152 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 152 of file G4DimensionedType.hh

References G4DimensionedType< T, ConversionErrorPolicy >::fDimensionedValue.

template<typename T , typename ConversionErrorPolicy >
bool G4DimensionedType< T, ConversionErrorPolicy >::operator== ( const G4DimensionedType< T > &  rhs) const

Definition at line 138 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 138 of file G4DimensionedType.hh

References G4DimensionedType< T, ConversionErrorPolicy >::fDimensionedValue.

template<typename T , typename ConversionErrorPolicy >
bool G4DimensionedType< T, ConversionErrorPolicy >::operator> ( const G4DimensionedType< T > &  rhs) const

Definition at line 159 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 159 of file G4DimensionedType.hh

References G4DimensionedType< T, ConversionErrorPolicy >::fDimensionedValue.

template<typename T , typename ConversionErrorPolicy >
T G4DimensionedType< T, ConversionErrorPolicy >::RawValue ( ) const

Definition at line 110 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 110 of file G4DimensionedType.hh

template<typename T , typename ConversionErrorPolicy >
G4String G4DimensionedType< T, ConversionErrorPolicy >::Unit ( ) const

Definition at line 117 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 117 of file G4DimensionedType.hh

Member Data Documentation

template<typename T, typename ConversionErrorPolicy = G4ConversionFatalError>
T G4DimensionedType< T, ConversionErrorPolicy >::fDimensionedValue
private
template<typename T, typename ConversionErrorPolicy = G4ConversionFatalError>
G4String G4DimensionedType< T, ConversionErrorPolicy >::fUnit
private

Definition at line 80 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 80 of file G4DimensionedType.hh

template<typename T, typename ConversionErrorPolicy = G4ConversionFatalError>
T G4DimensionedType< T, ConversionErrorPolicy >::fValue
private

Definition at line 79 of file G4DimensionedType.hh.

View newest version in sPHENIX GitHub at line 79 of file G4DimensionedType.hh


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