ATLAS Offline Software
Namespaces | Macros | Functions
PrintMsg.h File Reference
#include <RootCoreUtils/Global.h>
#include <string>
#include <RootCoreUtils/MessageType.h>
Include dependency graph for PrintMsg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 RCU
 This module defines a variety of assert style macros.
 

Macros

#define ROOTCORE_PACKAGE   0
 
#define RCU_PRINT_MSG(message)   ::RCU::send_message (ROOTCORE_PACKAGE, __FILE__, __LINE__, ::RCU::MESSAGE_REGULAR, (message));
 
#define RCU_WARN_MSG(message)   ::RCU::send_message (ROOTCORE_PACKAGE, __FILE__, __LINE__, ::RCU::MESSAGE_WARNING, (message));
 
#define RCU_ERROR_MSG(message)   ::RCU::send_message (ROOTCORE_PACKAGE, __FILE__, __LINE__, ::RCU::MESSAGE_ERROR, (message));
 
#define RCU_THROW_MSG(message)   ::RCU::send_message_abort (ROOTCORE_PACKAGE, __FILE__, __LINE__, ::RCU::MESSAGE_EXCEPTION, (message));
 

Functions

void RCU::send_message (const char *package, const char *file, unsigned line, MessageType type, const char *msg)
 
void RCU::send_message (const char *package, const char *file, unsigned line, MessageType type, const std::string &msg)
 
void RCU::send_message (const char *package, const char *file, unsigned line, MessageType type, const TString &msg)
 
void RCU::send_message_abort (const char *package, const char *file, unsigned line, MessageType type, const char *msg)
 
void RCU::send_message_abort (const char *package, const char *file, unsigned line, MessageType type, const std::string &msg)
 
void RCU::send_message_abort (const char *package, const char *file, unsigned line, MessageType type, const TString &msg)
 

Macro Definition Documentation

◆ RCU_ERROR_MSG

#define RCU_ERROR_MSG (   message)    ::RCU::send_message (ROOTCORE_PACKAGE, __FILE__, __LINE__, ::RCU::MESSAGE_ERROR, (message));

Definition at line 56 of file PrintMsg.h.

◆ RCU_PRINT_MSG

#define RCU_PRINT_MSG (   message)    ::RCU::send_message (ROOTCORE_PACKAGE, __FILE__, __LINE__, ::RCU::MESSAGE_REGULAR, (message));

Definition at line 50 of file PrintMsg.h.

◆ RCU_THROW_MSG

#define RCU_THROW_MSG (   message)    ::RCU::send_message_abort (ROOTCORE_PACKAGE, __FILE__, __LINE__, ::RCU::MESSAGE_EXCEPTION, (message));

Definition at line 59 of file PrintMsg.h.

◆ RCU_WARN_MSG

#define RCU_WARN_MSG (   message)    ::RCU::send_message (ROOTCORE_PACKAGE, __FILE__, __LINE__, ::RCU::MESSAGE_WARNING, (message));

Definition at line 53 of file PrintMsg.h.

◆ ROOTCORE_PACKAGE

#define ROOTCORE_PACKAGE   0

Definition at line 47 of file PrintMsg.h.