ExtractStringFromDD

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef Geometry_MTDNumberingBuilder_ExtractStringFromDD_H
#define Geometry_MTDNumberingBuilder_ExtractStringFromDD_H

#include "FWCore/ParameterSet/interface/types.h"
#include <string>

/**
 * Helper function to extract a string from a SpecPar; only returns the 
 * first one and complains if more than 1 is found.
 */
template <class FilteredView>
class ExtractStringFromDD {
public:
  static std::string getString(const std::string &, FilteredView *);
};

#endif