/*****************************************************************************/ // Copyright (c) Illumina 2008 // Author: Richard Shaw // // 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 "statistics/Align_File_Data.h" #include "statistics/Export_File_Data.h" #include "statistics/Align_Data_Factory.h" /*****************************************************************************/ Align_Data_Factory::Align_Data_Factory() { ; } /*****************************************************************************/ Align_Data* Align_Data_Factory::get_align_data(Input_Type input_type, const std::string& file_path_str, File_Buffer::Compression_Type compr_type) const { Align_Data* align_data_ptr(0); switch (input_type) { case EXPORT_INPUT: align_data_ptr = new Export_File_Data(file_path_str, compr_type); break; case ALIGN_INPUT: align_data_ptr = new Align_File_Data(file_path_str, compr_type); break; } return align_data_ptr; } /*****************************************************************************/