CMS 3D CMS Logo

Classes | Typedefs | Functions | Variables
edm::impl Namespace Reference

Classes

struct  has_subscript_operator
 
struct  has_subscript_operator< T, std::void_t< decltype(std::declval< T & >()[0])> >
 
struct  LogDebugAdapter
 
struct  subscript_type
 
struct  subscript_type< T, std::enable_if_t< not std::is_array_v< T > >, std::enable_if_t< has_subscript_operator_v< T > > >
 
struct  subscript_type< T[]>
 
struct  subscript_type< T[N]>
 

Typedefs

template<typename T >
using subscript_type_t = typename subscript_type< T >::type
 

Functions

std::unique_ptr< edm::OutputModuleCommunicatorcreateCommunicatorIfNeeded (::edm::global::OutputModuleBase *iMod)
 
std::unique_ptr< edm::OutputModuleCommunicatorcreateCommunicatorIfNeeded (::edm::limited::OutputModuleBase *iMod)
 
std::unique_ptr< edm::OutputModuleCommunicatorcreateCommunicatorIfNeeded (::edm::one::OutputModuleBase *iMod)
 
std::unique_ptr< edm::OutputModuleCommunicatorcreateCommunicatorIfNeeded (void *)
 

Variables

template<typename T >
constexpr auto has_subscript_operator_v = has_subscript_operator<T>::value
 

Typedef Documentation

◆ subscript_type_t

template<typename T >
using edm::impl::subscript_type_t = typedef typename subscript_type<T>::type

Definition at line 56 of file propagate_const_array.h.

Function Documentation

◆ createCommunicatorIfNeeded() [1/4]

std::unique_ptr< edm::OutputModuleCommunicator > edm::impl::createCommunicatorIfNeeded ( ::edm::global::OutputModuleBase iMod)

Definition at line 217 of file OutputModuleCommunicatorT.cc.

217  {
218  return std::make_unique<OutputModuleCommunicatorT<edm::global::OutputModuleBase>>(iMod);
219  }

◆ createCommunicatorIfNeeded() [2/4]

std::unique_ptr< edm::OutputModuleCommunicator > edm::impl::createCommunicatorIfNeeded ( ::edm::limited::OutputModuleBase iMod)

Definition at line 223 of file OutputModuleCommunicatorT.cc.

223  {
224  return std::make_unique<OutputModuleCommunicatorT<edm::limited::OutputModuleBase>>(iMod);
225  }

◆ createCommunicatorIfNeeded() [3/4]

std::unique_ptr< edm::OutputModuleCommunicator > edm::impl::createCommunicatorIfNeeded ( ::edm::one::OutputModuleBase iMod)

Definition at line 220 of file OutputModuleCommunicatorT.cc.

220  {
221  return std::make_unique<OutputModuleCommunicatorT<edm::one::OutputModuleBase>>(iMod);
222  }

◆ createCommunicatorIfNeeded() [4/4]

std::unique_ptr< edm::OutputModuleCommunicator > edm::impl::createCommunicatorIfNeeded ( void *  )

Definition at line 214 of file OutputModuleCommunicatorT.cc.

214  {
215  return std::unique_ptr<edm::OutputModuleCommunicator>{};
216  }

Referenced by edm::OutputModuleCommunicatorT< T >::createIfNeeded().

Variable Documentation

◆ has_subscript_operator_v

template<typename T >
constexpr auto edm::impl::has_subscript_operator_v = has_subscript_operator<T>::value
constexpr

Definition at line 32 of file propagate_const_array.h.