mirror of https://github.com/openXC7/prjxray.git
26 lines
427 B
C++
26 lines
427 B
C++
#ifndef PRJXRAY_LIB_DATABASE_H
|
|
#define PRJXRAY_LIB_DATABASE_H
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include <prjxray/segbits_file_reader.h>
|
|
|
|
namespace prjxray {
|
|
|
|
class Database {
|
|
public:
|
|
Database(const std::string &path)
|
|
: db_path_(path) {}
|
|
|
|
std::vector<std::unique_ptr<SegbitsFileReader>> segbits() const;
|
|
|
|
private:
|
|
std::string db_path_;
|
|
};
|
|
|
|
} // namespace prjxray
|
|
|
|
#endif // PRJXRAY_LIB_DATABASE_H
|