| 301 | } |
| 302 | |
| 303 | void Group::GetDisplayName(char* buf, int buf_size) { |
| 304 | if (GetName().empty()) { |
| 305 | FormatString(buf, buf_size, "%d, Group with %d children", GetID(), children.size()); |
| 306 | } else { |
| 307 | FormatString(buf, buf_size, "%s, Group with %d children", GetName().c_str(), children.size()); |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | void Group::SetEnabled(bool val) { |
| 312 | enabled_ = val; |
no test coverage detected