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.

9 {
10  transform(aString.begin(), aString.end(), aString.begin(), (int (*) (int))toupper);
11  return aString;
12 }

References createfilelist::int, and HcalDetIdTransform::transform().

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

HcalDetIdTransform::transform
unsigned transform(const HcalDetId &id, unsigned transformCode)
Definition: HcalDetIdTransform.cc:7
createfilelist.int
int
Definition: createfilelist.py:10