Page MenuHomec4science

Book.h
No OneTemporary

File Metadata

Created
Fri, Nov 1, 06:56
/*
* Book.h
*
* Created on: Jun 26, 2018
* Author: vachoux
*/
#ifndef SRC_BOOK_H_
#define SRC_BOOK_H_
#include "tinyxml2/tinyxml2.h"
#include <string>
class Book {
public:
Book(tinyxml2::XMLElement* p_book);
virtual ~Book() {}
void print();
private:
std::string id_;
std::string category_;
std::string author_;
std::string title_;
std::string lang_;
int year_;
int stock_;
float price_;
std::string currency_;
bool discount_;
double margin_;
bool bestseller_;
};
#endif /* SRC_BOOK_H_ */

Event Timeline