CMS 3D CMS Logo

Namespaces | Functions
FriendlyName.cc File Reference
#include <string>
#include <regex>
#include <iostream>
#include <cassert>
#include "oneapi/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::reAlpakaDevCpu ("alpaka::DevCpu")
 
static std::regex const edm::friendlyname::reAlpakaDevCudaRt ("alpaka::DevUniformCudaHipRt<alpaka::ApiCudaRt>")
 
static std::regex const edm::friendlyname::reAlpakaDevHipRt ("alpaka::DevUniformCudaHipRt<alpaka::ApiHipRt>")
 
static std::regex const edm::friendlyname::reAlpakaQueueCpuBlocking ("alpaka::QueueGenericThreadsBlocking<alpaka::DevCpu>")
 
static std::regex const edm::friendlyname::reAlpakaQueueCpuNonBlocking ("alpaka::QueueGenericThreadsNonBlocking<alpaka::DevCpu>")
 
static std::regex const edm::friendlyname::reAlpakaQueueCudaRtBlocking ("alpaka::uniform_cuda_hip::detail::QueueUniformCudaHipRt<alpaka::ApiCudaRt,true>")
 
static std::regex const edm::friendlyname::reAlpakaQueueCudaRtNonBlocking ("alpaka::uniform_cuda_hip::detail::QueueUniformCudaHipRt<alpaka::ApiCudaRt,false>")
 
static std::regex const edm::friendlyname::reAlpakaQueueHipRtBlocking ("alpaka::uniform_cuda_hip::detail::QueueUniformCudaHipRt<alpaka::ApiHipRt,true>")
 
static std::regex const edm::friendlyname::reAlpakaQueueHipRtNonBlocking ("alpaka::uniform_cuda_hip::detail::QueueUniformCudaHipRt<alpaka::ApiHipRt,false>")
 
static std::regex const edm::friendlyname::reArray ("\\")
 
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<\ *> >")
 
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<\ *> >")
 
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::reToRangeMap ("edm::RangeMap< *(.*), *(.*), *edm::ClonePolicy<([^>]*)> >")
 
static std::regex const edm::friendlyname::reToRefs1 ("edm::RefVector< *(.*)< *(.*) *>, *\ *, *edm::refhelper::FindUsingAdvance< *< *\ *> *, *\ *> *>")
 
static std::regex const edm::friendlyname::reToRefs2 ("edm::RefVector< *(.*) *, *(.*) *, *edm::refhelper::FindUsingAdvance< *\, *\ *> *>")
 
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::reUniquePtrDeleter ("^std::unique_ptr< *(.*), *std::default_delete<> *>")
 
static std::regex const edm::friendlyname::reUnorderedMap ("std::unordered_map")
 
static std::regex const edm::friendlyname::reUnorderedMapCustomHashKeyEqual ("std::unordered_map< *(.*), *(.*), *(.*) *, *std::equal_to<> *>")
 
static std::regex const edm::friendlyname::reUnorderedMapHash ("std::unordered_map< *(.*), *(.*), *std::hash<> *>")
 
static std::regex const edm::friendlyname::reUnorderedMapHashKeyEqual ("std::unordered_map< *(.*), *(.*), *std::hash<> *, *std::equal_to<> *>")
 
static std::regex const edm::friendlyname::reUnorderedSet ("std::unordered_set")
 
static std::regex const edm::friendlyname::reUnorderedSetCustomHashKeyEqual ("std::unordered_set< *(.*), *(.*) *, *std::equal_to<> *>")
 
static std::regex const edm::friendlyname::reUnorderedSetHash ("std::unordered_set< *(.*), *std::hash<> *>")
 
static std::regex const edm::friendlyname::reUnorderedSetHashKeyEqual ("std::unordered_set< *(.*), *std::hash<> *, *std::equal_to<> *>")
 
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)