CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
SimpleFlatTableProducerBase< T, TProd >::VariableBase Class Reference

#include <SimpleFlatTableProducer.h>

Inheritance diagram for SimpleFlatTableProducerBase< T, TProd >::VariableBase:
SimpleFlatTableProducerBase< T, TProd >::Variable SimpleFlatTableProducerBase< T, TProd >::FuncVariable< StringFunctor, ValType >

Public Member Functions

const std::string & name () const
 
 VariableBase (const std::string &aname, const edm::ParameterSet &cfg)
 
virtual ~VariableBase ()
 

Protected Attributes

std::string doc_
 
std::string name_
 
int precision_
 

Detailed Description

template<typename T, typename TProd>
class SimpleFlatTableProducerBase< T, TProd >::VariableBase

Definition at line 67 of file SimpleFlatTableProducer.h.

Constructor & Destructor Documentation

◆ VariableBase()

template<typename T, typename TProd>
SimpleFlatTableProducerBase< T, TProd >::VariableBase::VariableBase ( const std::string &  aname,
const edm::ParameterSet cfg 
)
inline

Definition at line 69 of file SimpleFlatTableProducer.h.

70  : name_(aname),
71  doc_(cfg.getParameter<std::string>("doc")),
72  precision_(cfg.existsAs<int>("precision") ? cfg.getParameter<int>("precision")
73  : (cfg.existsAs<std::string>("precision") ? -2 : -1)) {}

◆ ~VariableBase()

template<typename T, typename TProd>
virtual SimpleFlatTableProducerBase< T, TProd >::VariableBase::~VariableBase ( )
inlinevirtual

Definition at line 74 of file SimpleFlatTableProducer.h.

74 {}

Member Function Documentation

◆ name()

template<typename T, typename TProd>
const std::string& SimpleFlatTableProducerBase< T, TProd >::VariableBase::name ( void  ) const
inline

Member Data Documentation

◆ doc_

template<typename T, typename TProd>
std::string SimpleFlatTableProducerBase< T, TProd >::VariableBase::doc_
protected

Definition at line 78 of file SimpleFlatTableProducer.h.

◆ name_

template<typename T, typename TProd>
std::string SimpleFlatTableProducerBase< T, TProd >::VariableBase::name_
protected

◆ precision_

template<typename T, typename TProd>
int SimpleFlatTableProducerBase< T, TProd >::VariableBase::precision_
protected
SimpleFlatTableProducerBase::VariableBase::name_
std::string name_
Definition: SimpleFlatTableProducer.h:78
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
looper.cfg
cfg
Definition: looper.py:296
SimpleFlatTableProducerBase::VariableBase::precision_
int precision_
Definition: SimpleFlatTableProducer.h:79
SimpleFlatTableProducerBase::VariableBase::doc_
std::string doc_
Definition: SimpleFlatTableProducer.h:78