| 36 | return str; |
| 37 | } |
| 38 | void SetAuthor(const char* author) { MdfHeaderSetAuthor(header, author); } |
| 39 | std::string GetDepartment() const { |
| 40 | std::string str(MdfHeaderGetDepartment(header, nullptr) + 1, '\0'); |
| 41 | str.resize(MdfHeaderGetDepartment(header, str.data())); |