LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Protection.cc
Go to the documentation of this file.
1 #include "fhiclcpp/Protection.h"
2 
3 std::string
5 {
6  std::string result;
7  switch (p) {
8  case Protection::NONE:
9  result = "NONE";
10  break;
11  case Protection::PROTECT_IGNORE:
12  result = "PROTECT_IGNORE";
13  break;
14  case Protection::PROTECT_ERROR:
15  result = "PROTECT_ERROR";
16  break;
17  }
18  return result;
19 }
std::string to_string(Protection p)
Definition: Protection.cc:4
Protection
Definition: Protection.h:7