Protection.cc
Go to the documentation of this file.
1 #include "fhiclcpp/Protection.h"
2 
5 {
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 }
static QCString result
std::string string
Definition: nybbler.cc:12
std::string to_string(Protection p)
Definition: Protection.cc:4
Protection
Definition: Protection.h:7
p
Definition: test.py:223