/*
    Copyright (C) 2012 Bartosz Broda, Jacek Bochenek, Łukasz Biłeńkij, 
    Damian Jaworski, Wojciech Mazur, Dominik Piasecki, Maciej Piasecki, 
    Radosław Ramocki
    
    This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.

    This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. 

    See the LICENSE and COPYING files for more details.
*/

#ifndef VECTOREXTRACTOR_OPTIONS_H
#define VECTOREXTRACTOR_OPTIONS_H
#include "matrices_all.h"

namespace vector_extractor
{
	struct Params
	{
		std::string m_sMatrixName;
		std::string m_sMatrixDir;
		bool m_bRows;
		std::string m_sWordsFile;
		std::string m_sOutName;
	};

	class Options
	{
		public:
			Options(int ac, char *av[]);
			Params& GetParams();
		private:
			void InitOptions(int ac, char*av[]);
			std::string NormalizeDir(const std::string &s);
			void CheckMatrix();

			std::string m_sMatrixPath;
			Params m_Params;
	};
}//namespace vectore_extractor

#endif //VECTOREXTRACTOR_OPTIONS_H

