| 25 | { |
| 26 | public: |
| 27 | LibraryBook(std::string title_, |
| 28 | std::string author_, |
| 29 | int available_copies_, |
| 30 | std::string language_, |
| 31 | int pages_, |
| 32 | std::string isbn_) |
| 33 | : title(title_) |
| 34 | , author(author_) |
| 35 | , available_copies(available_copies_) |
| 36 | , language(language_) |
| 37 | , pages(pages_) |
| 38 | , isbn(isbn_) |
| 39 | { |
| 40 | } |
| 41 | // Data public for simplicity of test demo case. |
| 42 | // In production code, we would have accessors instead. |
| 43 | std::string title; |
nothing calls this directly
no outgoing calls
no test coverage detected