AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::slic::inherit Namespace Reference

Enumerations

enum  flags {
  nothing = 0 , error = 1 << 0 , warning = 1 << 1 , info = 1 << 2 ,
  debug = 1 << 3
}
 Holds the bit flags associated with each level. More...
 

Variables

static const char everything = error | warning | info | debug
 Convenience bit mask that turns on all four bits. More...
 
static const char errors_and_warnings = error | warning
 Convenience bit mask that turns on fatal,error and warning bits. More...
 
static const flags masks [message::Num_Levels] = {error, warning, info, debug}
 Array of bit masks corresponding to each level. More...
 

Enumeration Type Documentation

◆ flags

Holds the bit flags associated with each level.

Enumerator
nothing 

nothing, no bit is set.

error 

error, zeroth bit is set.

warning 

warning, 1st bit is set.

info 

info, 2nd bit is set.

debug 

debug, 3rd bit is set.

Variable Documentation

◆ everything

const char axom::slic::inherit::everything = error | warning | info | debug
static

Convenience bit mask that turns on all four bits.

◆ errors_and_warnings

const char axom::slic::inherit::errors_and_warnings = error | warning
static

Convenience bit mask that turns on fatal,error and warning bits.

◆ masks

const flags axom::slic::inherit::masks[message::Num_Levels] = {error, warning, info, debug}
static

Array of bit masks corresponding to each level.

Note
Used to loop through the bit mask associated with each level.