#ifndef CONST_HH_ #define CONST_HH_ /** * Project : CASAVA * Module : $RCSfile: Const.hh,v $ * @author : Lukasz Szajkowski * Copyright : Copyright (c) Illumina 2008, 2009. All rights reserved. * ** This software is covered by the "Illumina Genome Analyzer Software ** License Agreement" and the "Illumina Source Code License Agreement", ** and certain third party copyright/licenses, and any user of this ** source file is bound by the terms therein (see accompanying files ** Illumina_Genome_Analyzer_Software_License_Agreement.pdf and ** Illumina_Source_Code_License_Agreement.pdf and third party ** copyright/license notices). * */ #include #include #include namespace casava { namespace common { /** * @class Const * * @brief A class holding text definitions * * $Header $ */ class Const { public: //std::string NO() { // return "NO"; //} std::string YES() { return "YES"; } bool isYES(char *) { return (strcmp(optarg, YES().c_str()) == 0); } std::string ExportExample() { return "ExportExample"; } std::string Export2Fastq() { return "Export2Fastq"; } std::string Sam2Export() { return "Sam2Export"; } std::string IndelFinder() { return "IndelFinder"; } std::string ClusterFinder() { return "ClusterFinder"; } std::string ClusterMerger() { return "ClusterMerger"; } std::string SmallAssembler() { return "SmallAssembler"; } std::string AlignCandIndelReads() { return "AlignCandIndelReads"; } std::string AlignContig() { return "AlignContig"; } std::string CheckOrder() { return "CheckOrder"; } static Const& get() { static Const constObj; return constObj; } private: Const(){}; Const(Const const&); Const& operator=(Const const&); ~Const(){}; }; } } // end namespace casava{ namespace { applications #endif /*CONST_HH_*/