Skip to content

Commit

Permalink
added struct to specify file entry to simpler processing
Browse files Browse the repository at this point in the history
  • Loading branch information
riasc committed Nov 18, 2024
1 parent d0dd5e0 commit a3034c1
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions cli/include/FileEntry.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
//
// Created by Richard Albin Schaefer on 11/18/24.
//

#ifndef GENOGROVE_FILEENTRY_HPP
#define GENOGROVE_FILEENTRY_HPP

// Standard
#include <string>

// Class
#include "genogrove/Interval.hpp"

struct FileEntry {
std::string chrom;
genogrove::Interval interval;
char strand;

FileEntry() : chrom(""), interval(0, 0), strand('.') {}
FileEntry(std::string chrom, genogrove::Interval interval, char strand) :
chrom(chrom), interval(interval), strand(strand) {}
};

#endif //GENOGROVE_FILEENTRY_HPP

0 comments on commit a3034c1

Please sign in to comment.