#include <typeinfo>
#include <type_traits>
#include <algorithm>
#include <string>
#include <bitset>
#include <utility>
#include <tuple>
#include <memory>
#include <array>
#include <vector>
#include <deque>
#include <forward_list>
#include <list>
#include <set>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <cstddef>
#include <cmath>
#include "CondFormats/Serialization/interface/Serializable.h"
Go to the source code of this file.
#define equal_mapping |
( |
|
TYPE | ) |
|
Value:template <typename T, typename U> \
struct access<TYPE<T, U>> { \
static
bool equal_(
const TYPE<T, U>&
first,
const TYPE<T, U>&
second) {
\
return first.size() == second.size() &&
\
[](decltype(*first.cbegin())
a, decltype(*first.cbegin())
b) ->
bool {
return equal(
a,
b); }); \
} \
};
bool equal(const T &first, const T &second)
U second(std::pair< T, U > const &p)
Definition at line 188 of file Equal.h.
#define equal_pointer |
( |
|
TYPE | ) |
|
Value:template <typename T> \
struct access<TYPE<T>> { \
static
bool equal_(
const TYPE<T>&
first,
const TYPE<T>&
second) {
return equal(first.get(), second.get()); } \
};
bool equal(const T &first, const T &second)
U second(std::pair< T, U > const &p)
Definition at line 119 of file Equal.h.
#define equal_sequence |
( |
|
TYPE | ) |
|
Value:template <typename T> \
struct access<TYPE<T>> { \
static
bool equal_(
const TYPE<T>&
first,
const TYPE<T>&
second) {
\
return first.size() == second.size() &&
\
[](decltype(*first.cbegin())
a, decltype(*first.cbegin())
b) ->
bool {
return equal(
a,
b); }); \
} \
};
bool equal(const T &first, const T &second)
U second(std::pair< T, U > const &p)
Definition at line 149 of file Equal.h.
#define equal_unorderedmapping |
( |
|
TYPE | ) |
|
Value:template <typename T, typename U> \
struct access<TYPE<T, U>> { \
static
bool equal_(
const TYPE<T, U>&
first,
const TYPE<T, U>&
second) {
\
if (first.size() != second.size()) \
return false; \
auto first_it = first.cbegin();
\
while (first_it != first.cend()) {
\
auto second_it = second.find(first_it->first);
\
if (second_it == second.cend()) \
if (not
equal(first_it->second, second_it->second))
\
first_it++; \
} \
};
bool equal(const T &first, const T &second)
U second(std::pair< T, U > const &p)
if(conf_.getParameter< bool >("UseStripCablingDB"))
while(__syncthreads_or(more))
Definition at line 203 of file Equal.h.