| 23 | |
| 24 | |
| 25 | void dump_requires_slot(ClientAttentionType type, ClientAttentionGroup group, struct RequiresSlot &reqdata) |
| 26 | { |
| 27 | unsigned int t = (unsigned int)type; |
| 28 | unsigned int g = (unsigned int)group; |
| 29 | |
| 30 | std::cout << " Type: [" << std::to_string(t) << "] " << ClientAttentionType_str[t] << std::endl |
| 31 | << " Group: [" << std::to_string(g) << "] " << ClientAttentionGroup_str[g] << std::endl |
| 32 | << " Id: " << reqdata.id << std::endl |
| 33 | << " Name: " << reqdata.name << std::endl |
| 34 | << " Value: " << reqdata.value << std::endl |
| 35 | << " Description: " << reqdata.user_description << std::endl |
| 36 | << " Provided: " << (reqdata.provided ? "True" : "False") << std::endl |
| 37 | << "------------------------------------------------------------" << std::endl; |
| 38 | } |
| 39 | |
| 40 | |
| 41 | |