00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CGA_TOOLS_COMMAND_DECODECRR_HPP_
00016 #define CGA_TOOLS_COMMAND_DECODECRR_HPP_ 1
00017
00019
00020 #include "cgatools/core.hpp"
00021 #include "cgatools/command/Command.hpp"
00022 #include "cgatools/reference/CrrFile.hpp"
00023
00024 namespace cgatools { namespace command {
00025
00026 class DecodeCrr : public Command
00027 {
00028 public:
00029 DecodeCrr(const std::string& name);
00030
00031 protected:
00032 int run(po::variables_map& vm);
00033
00034 private:
00035 reference::Range parseRangeParam(
00036 const reference::CrrFile& crr, const std::string& param) const;
00037
00038 std::string referenceFileName_;
00039 std::string outputFileName_;
00040 std::string range_;
00041 };
00042
00043 } }
00044
00045 #endif // CGA_TOOLS_COMMAND_DECODECRR_HPP_