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 221 of file OutputModuleCommunicatorT.cc.

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

◆ createCommunicatorIfNeeded() [2/4]

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

Definition at line 227 of file OutputModuleCommunicatorT.cc.

227  {
228  return std::make_unique<OutputModuleCommunicatorT<edm::limited::OutputModuleBase>>(iMod);
229  }

◆ createCommunicatorIfNeeded() [3/4]

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

Definition at line 224 of file OutputModuleCommunicatorT.cc.

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

◆ createCommunicatorIfNeeded() [4/4]

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

Definition at line 218 of file OutputModuleCommunicatorT.cc.

218  {
219  return std::unique_ptr<edm::OutputModuleCommunicator>{};
220  }

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.