CMS 3D CMS Logo

Namespaces | Macros | Functions
helper.h File Reference
#include <bitset>
#include <string>
#include <sstream>
#include <vector>
#include <map>
#include <memory>
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Namespaces

 details
 

Macros

#define assert_no_abort(expr)   ((void)((expr) || (__assert_no_abort(#expr, __FILE__, __LINE__, __PRETTY_FUNCTION__), 0)))
 

Functions

template<typename T = void>
void __assert_no_abort (const char *assertion, const char *file, unsigned int line, const char *function)
 

Macro Definition Documentation

#define assert_no_abort (   expr)    ((void)((expr) || (__assert_no_abort(#expr, __FILE__, __LINE__, __PRETTY_FUNCTION__), 0)))

Definition at line 13 of file helper.h.

Function Documentation

template<typename T = void>
void __assert_no_abort ( const char *  assertion,
const char *  file,
unsigned int  line,
const char *  function 
)

Definition at line 15 of file helper.h.

References b, constexpr, mps_fire::i, cscdqm::INT, N, dqmiodumpmetadata::n, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and to_hex().

15  {
16  //std::cout << file << ":" << line << ": " << function << ": Assertion `" << assertion << "' failed. (no abort)" << std::endl;
17  edm::LogWarning("L1T") << file << ":" << line << ": " << function << ": Assertion `" << assertion
18  << "' failed. (no abort)";
19 }