CMS 3D CMS Logo

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

◆ upcaseString()

string upcaseString ( std::string  aString)

A simple C++ replacement for C's strupper

Definition at line 8 of file RecordHelper.cc.

References createfilelist::int, and 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)