CMS 3D CMS Logo

Namespaces | Functions
FriendlyName.cc File Reference
#include <string>
#include <regex>
#include <iostream>
#include <cassert>
#include "tbb/concurrent_unordered_map.h"

Go to the source code of this file.

Namespaces

 edm
 HLT enums.
 
 edm::friendlyname
 

Functions

static std::string const edm::friendlyname::emptyString ("")
 
std::string edm::friendlyname::friendlyName (std::string const &iFullName)
 
std::string edm::friendlyname::handleNamespaces (std::string const &iIn)
 
std::string edm::friendlyname::handleTemplateArguments (std::string const &)
 
static std::regex const edm::friendlyname::reAIKR (", *edm::helper::AssociationIdenticalKeyReference")
 
static std::regex const edm::friendlyname::reAllSpaces (" +")
 
static std::regex const edm::friendlyname::reBeginSpace ("^ +")
 
static std::regex const edm::friendlyname::reclangabi ("std::__1::")
 
static std::regex const edm::friendlyname::reColons ("::")
 
static std::regex const edm::friendlyname::reComma (",")
 
static std::regex const edm::friendlyname::reCXX11 ("std::__cxx11::")
 
static std::regex const edm::friendlyname::reEndSpace (" +$")
 
static std::regex const edm::friendlyname::reLong ("long ")
 
static std::regex const edm::friendlyname::reLongLong ("Long64_t")
 
std::string edm::friendlyname::removeAllSpaces (std::string const &iIn)
 
std::string edm::friendlyname::removeExtraSpaces (std::string const &iIn)
 
static std::regex const edm::friendlyname::reOneToMany ("edm::AssociationMap< *edm::OneToMany<(.*?),(.*?), *u[a-z]*> >")
 
static std::regex const edm::friendlyname::reOneToManyWithQuality ("edm::AssociationMap<edm::OneToManyWithQuality<(.*?), *(.*?), *(.*?), *u[a-z]*> >")
 
static std::regex const edm::friendlyname::reOneToOne ("edm::AssociationMap< *edm::OneToOne<(.*?),(.*?), *u[a-z]*> >")
 
static std::regex const edm::friendlyname::reOneToValue ("edm::AssociationMap< *edm::OneToValue<(.*?),(.*?), *u[a-z]*> >")
 
static std::regex const edm::friendlyname::reOwnVector ("edm::OwnVector<(.*), *edm::ClonePolicy<\\1 *> >")
 
static std::regex const edm::friendlyname::rePointer ("\\*")
 
static std::regex const edm::friendlyname::reSharedPtr ("std::shared_ptr")
 
static std::regex const edm::friendlyname::reSorted ("edm::SortedCollection<(.*), *edm::StrictWeakOrdering<\\1 *> >")
 
static std::regex const edm::friendlyname::reString ("std::basic_string<char>")
 
static std::regex const edm::friendlyname::reString2 ("std::string")
 
static std::regex const edm::friendlyname::reString3 ("std::basic_string<char,std::char_traits<char> >")
 
static std::regex const edm::friendlyname::reTemplateArgs ("[^<]*<(.*)>$")
 
static std::regex const edm::friendlyname::reTemplateClass ("([^<>,]+<[^<>]*>)")
 
static std::regex const edm::friendlyname::reToRangeMap ("edm::RangeMap< *(.*), *(.*), *edm::ClonePolicy<([^>]*)> >")
 
static std::regex const edm::friendlyname::reToRefs1 ("edm::RefVector< *(.*)< *(.*) *>, *\\2 *, *edm::refhelper::FindUsingAdvance< *\\1< *\\2 *> *, *\\2 *> *>")
 
static std::regex const edm::friendlyname::reToRefs2 ("edm::RefVector< *(.*) *, *(.*) *, *edm::refhelper::FindUsingAdvance< *\\1, *\\2 *> *>")
 
static std::regex const edm::friendlyname::reToRefsAssoc ("edm::RefVector< *Association(.*) *, *edm::helper(.*), *Association(.*)::Find>")
 
static std::regex const edm::friendlyname::reToVector ("edm::AssociationVector<(.*), *(.*), *edm::Ref.*,.*>")
 
static std::regex const edm::friendlyname::reULongLong ("ULong64_t")
 
static std::regex const edm::friendlyname::reUniquePtr ("std::unique_ptr")
 
static std::regex const edm::friendlyname::reUnsigned ("unsigned ")
 
static std::regex const edm::friendlyname::reVector ("std::vector")
 
static std::regex const edm::friendlyname::reWrapper ("edm::Wrapper<(.*)>")
 
std::string edm::friendlyname::standardRenames (std::string const &iIn)
 
std::string edm::friendlyname::subFriendlyName (std::string const &iFullName)