From a3034c1dd8ac5254ed603502fce0a456cda03fb6 Mon Sep 17 00:00:00 2001 From: riasc Date: Mon, 18 Nov 2024 13:04:21 -0600 Subject: [PATCH] added struct to specify file entry to simpler processing --- cli/include/FileEntry.hpp | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/cli/include/FileEntry.hpp b/cli/include/FileEntry.hpp index 001ef66..8114fcc 100644 --- a/cli/include/FileEntry.hpp +++ b/cli/include/FileEntry.hpp @@ -1,8 +1,20 @@ -// -// Created by Richard Albin Schaefer on 11/18/24. -// - #ifndef GENOGROVE_FILEENTRY_HPP #define GENOGROVE_FILEENTRY_HPP +// Standard +#include + +// 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