CMS 3D CMS Logo

Functions | Variables

runtimedef Namespace Reference

Functions

int get (const char *name)
int get (const std::string &name)
void set (const std::string &name, int value)
 set the flag, with a run-time name

Variables

boost::unordered_map< const
char *, std::pair< int, int > > 
defines_
boost::unordered_map
< std::string, int > 
definesByString_

Function Documentation

int runtimedef::get ( const char *  name)
int runtimedef::get ( const std::string &  name)

Definition at line 64 of file ProfilingTools.cc.

References definesByString_, and mergeVDriftHistosByStation::name.

                                    {
        return definesByString_[name];
    }
void runtimedef::set ( const std::string &  name,
int  value 
)

Variable Documentation

boost::unordered_map<const char *, std::pair<int,int> > runtimedef::defines_

Definition at line 54 of file ProfilingTools.cc.

Referenced by get().

boost::unordered_map<std::string, int> runtimedef::definesByString_

Definition at line 55 of file ProfilingTools.cc.

Referenced by get(), and set().