CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
RecordHelper.cc File Reference
#include <algorithm>
#include <string>
#include <cctype>

Go to the source code of this file.

Functions

string upcaseString (std::string aString)
 

Function Documentation

string upcaseString ( std::string  aString)

A simple C++ replacement for C's strupper

Definition at line 8 of file RecordHelper.cc.

References HcalDetIdTransform::transform().

Referenced by FieldHandlerBase< TOutput >::getColumnName().

9 {
10  transform(aString.begin(), aString.end(), aString.begin(), (int (*) (int))toupper);
11  return aString;
12 }
unsigned transform(const HcalDetId &id, unsigned transformCode)