CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Functions
cond::serialization Namespace Reference

Classes

struct  access
 
struct  access< PixelDCSObject< bool >::Item >
 
struct  access< PixelDCSObject< CaenChannel >::Item >
 
struct  access< PixelDCSObject< float >::Item >
 
struct  access< std::array< T, N > >
 
struct  access< std::bitset< N > >
 
struct  access< std::forward_list< T > >
 
struct  access< std::pair< T, U > >
 
struct  access< std::string >
 
struct  access< std::tuple< Ts...> >
 
struct  access< T, typename std::enable_if< std::is_floating_point< T >::value >::type >
 
struct  access< T, typename std::enable_if< std::is_integral< T >::value or std::is_enum< T >::value >::type >
 
struct  access< T, typename std::enable_if< std::is_pointer< T >::value >::type >
 
struct  access< T[N]>
 
struct  equal_tuple
 
struct  equal_tuple< 0, Ts...>
 

Typedefs

typedef eos::portable_iarchive InputArchive
 
typedef eos::portable_oarchive OutputArchive
 

Functions

template<typename T >
bool equal (const T &first, const T &second)
 
 equal_mapping (std::map)
 
 equal_pointer (std::unique_ptr)
 
 equal_pointer (std::shared_ptr)
 
 equal_pointer (boost::shared_ptr)
 
 equal_sequence (std::vector)
 
 equal_sequence (std::deque)
 
 equal_sequence (std::list)
 
 equal_sequence (std::set)
 
 equal_sequence (std::multiset)
 
 equal_unorderedmapping (std::unordered_map)
 

Typedef Documentation

typedef eos::portable_iarchive cond::serialization::InputArchive

Definition at line 12 of file Archive.h.

typedef eos::portable_oarchive cond::serialization::OutputArchive

Definition at line 13 of file Archive.h.

Function Documentation

template<typename T >
bool cond::serialization::equal ( const T first,
const T second 
)

Definition at line 34 of file Equal.h.

Referenced by CaloSD::cleanHitCollection(), poly< T >::const_iterator::equal(), cond::serialization::access< PixelDCSObject< bool >::Item >::equal_(), cond::serialization::access< PixelDCSObject< float >::Item >::equal_(), cond::serialization::access< PixelDCSObject< CaenChannel >::Item >::equal_(), cond::serialization::access< std::pair< T, U > >::equal_(), cond::serialization::equal_tuple< N, Ts >::equal_(), cond::serialization::access< T, typename std::enable_if< std::is_pointer< T >::value >::type >::equal_(), cond::serialization::access< T[N]>::equal_(), cond::serialization::access< std::array< T, N > >::equal_(), cond::serialization::access< std::forward_list< T > >::equal_(), EventWithHistory::operator==(), cms::operator==(), edm::PtrVectorBase::operator==(), and edm::operator==().

35 {
36  // This function takes advantage of template argument deduction,
37  // making it easier to use than the access<T> template.
38 
39  // It is also called by the access<T>::equal_() methods themselves
40  // if they need to compare objects. This means all comparisons
41  // pass by here.
42 
43  // Therefore, we could easily first check here whether the address of
44  // the objects is the same or add debugging code. In our use case,
45  // however, most of the objects will have different addresses.
46  return access<T>::equal_(first, second);
47 }
U second(std::pair< T, U > const &p)
bool first
Definition: L1TdeRCT.cc:75
cond::serialization::equal_mapping ( std::map  )
cond::serialization::equal_pointer ( std::unique_ptr  )
cond::serialization::equal_pointer ( std::shared_ptr  )
cond::serialization::equal_pointer ( boost::shared_ptr  )
cond::serialization::equal_sequence ( std::vector  )
cond::serialization::equal_sequence ( std::deque  )
cond::serialization::equal_sequence ( std::list  )
cond::serialization::equal_sequence ( std::set  )
cond::serialization::equal_sequence ( std::multiset  )
cond::serialization::equal_unorderedmapping ( std::unordered_map  )