CMS 3D CMS Logo

Classes | Typedefs | Functions
cond::serialization Namespace Reference

Classes

struct  access
 
struct  access< std::array< T, N > >
 
struct  access< std::bitset< N > >
 
struct  access< std::deque< T > >
 
struct  access< std::forward_list< T > >
 
struct  access< std::list< T > >
 
struct  access< std::map< T, U > >
 
struct  access< std::multiset< T > >
 
struct  access< std::pair< T, U > >
 
struct  access< std::set< T > >
 
struct  access< std::shared_ptr< T > >
 
struct  access< std::string >
 
struct  access< std::tuple< Ts... > >
 
struct  access< std::unique_ptr< T > >
 
struct  access< std::unordered_map< T, U > >
 
struct  access< std::vector< T > >
 
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 boost::archive::xml_iarchive InputArchiveXML
 
typedef eos::portable_oarchive OutputArchive
 
typedef boost::archive::xml_oarchive OutputArchiveXML
 

Functions

template<typename T >
bool equal (const T &first, const T &second)
 

Typedef Documentation

◆ InputArchive

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

Definition at line 17 of file Archive.h.

◆ InputArchiveXML

typedef boost::archive::xml_iarchive cond::serialization::InputArchiveXML

Definition at line 20 of file Archive.h.

◆ OutputArchive

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

Definition at line 18 of file Archive.h.

◆ OutputArchiveXML

typedef boost::archive::xml_oarchive cond::serialization::OutputArchiveXML

Definition at line 21 of file Archive.h.

Function Documentation

◆ equal()

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

Definition at line 32 of file Equal.h.

References dqmdumpme::first, and edm::second().

Referenced by plotting::_calculateRatios(), CaloSD::cleanHitCollection(), poly< T >::const_iterator::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_(), FillInfo::is25nsBunchSpacing(), LHCInfoPerFill::is25nsBunchSpacing(), LHCInfo::is25nsBunchSpacing(), AlignPCLThresholdPlotHelper::AlignPCLThresholds_CompareBase< PayloadType, nIOVs, ntags >::isEqual(), LHERunInfoProduct::mergeProduct(), cms::operator==(), EventWithHistory::operator==(), edm::PtrVectorBase::operator==(), edm::operator==(), trklet::KFin::produce(), and edm::EventPrincipal::wasBranchListIndexesChangedFromInput().

32  {
33  // This function takes advantage of template argument deduction,
34  // making it easier to use than the access<T> template.
35 
36  // It is also called by the access<T>::equal_() methods themselves
37  // if they need to compare objects. This means all comparisons
38  // pass by here.
39 
40  // Therefore, we could easily first check here whether the address of
41  // the objects is the same or add debugging code. In our use case,
42  // however, most of the objects will have different addresses.
43  return access<T>::equal_(first, second);
44  }
U second(std::pair< T, U > const &p)