| 72 | } |
| 73 | } |
| 74 | bool valid_service_method(const std::vector<const MethodDescriptor*>& methods) { |
| 75 | if (methods.size() != 2) { |
| 76 | return false; |
| 77 | } |
| 78 | if (methods[0]->name() == "inference" && methods[1]->name() == "debug") { |
| 79 | return true; |
| 80 | } |
| 81 | if (methods[1]->name() == "inference" && methods[0]->name() == "debug") { |
| 82 | return true; |
| 83 | } |
| 84 | return false; |
| 85 | } |
| 86 | |
| 87 | #ifdef BCLOUD |
| 88 | class PdsCodeGenerator : public CodeGenerator { |
no test coverage detected