Functions
Level_t.cc File Reference
#include "canvas/Utilities/Level.h"

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

int main ( void  )

Definition at line 6 of file Level_t.cc.

7 {
8  static_assert(is_highest_level(Level::Job));
9  static_assert(is_above_most_deeply_nested_level(Level::Run));
11  static_assert(is_level_contained_by(Level::InputFile, Level::Job));
12  static_assert(Level::InputFile == level_down(Level::Job));
13  static_assert(level_up(Level::InputFile) == Level::Job);
14 }
constexpr bool is_most_deeply_nested_level(Level const l) noexcept
Definition: Level.h:62
constexpr auto level_up(Level const l) noexcept
Definition: Level.h:38
constexpr bool is_above_most_deeply_nested_level(Level const l) noexcept
Definition: Level.h:56
Definition: types.h:32
constexpr bool is_level_contained_by(Level const l1, Level const l2) noexcept
Definition: Level.h:74
constexpr bool is_highest_level(Level const l) noexcept
Definition: Level.h:68
constexpr auto level_down(Level const l) noexcept
Definition: Level.h:50