/** * @file * Copyright 2014 (c) Anna Schumaker. */ #include Library :: Library() : count(0), enabled(false) { } Library :: Library(const std::string &s) : _path(s), count(0), enabled(true) { } const std::string Library :: primary_key() const { return _path; } void Library :: read(File &f) { f >> enabled; _path = f.getline(); } void Library :: write(File &f) { f << enabled << " " << _path; }