#ifndef SEGMENTMAP_H #define SEGMENTMAP_H #include #include class SegmentInfo { public: int id; //std::string name; std::vector filters; SegmentInfo(); template SegmentInfo(int id, std::string name, Args... args) : id(id), filters { args... } { } void WriteFilters(std::ostream& out, std::string section); void WriteFiltersKeep(std::ostream& out, std::string section); void CreateLdScript(std::ostream& out); }; class SegmentMap { std::vector segments; public: SegmentMap(); void CreateLdScript(std::ostream& out); }; #endif // SEGMENTMAP_H