test
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< boost::shared_ptr< T > >
 
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::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

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

Definition at line 16 of file Archive.h.

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

Definition at line 19 of file Archive.h.

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

Definition at line 17 of file Archive.h.

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

Definition at line 20 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 plotting.Plot::_calculateRatios(), BestTracks(), 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_(), FillInfo::is25nsBunchSpacing(), VoronoiAlgorithm::lp_populate(), 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)