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

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 create_public_lumi_plots::transform.

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

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