/***************************************************************************
 *   Copyright (C) 2007 by Armando Navarro Vazquez   *
 *   qoajnv@usc.es   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 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         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef NMRHANDLER_H
#define NMRHANDLER_H

#include <map>
#include <string>
#include <QObject>

/**
A class for management of NMR properties

	@author Armando Navarro Vazquez <qoajnv@usc.es>
*/
class NMRHandler : public QObject
{
public:
    NMRHandler();
    ~NMRHandler();
    std::map < std::string, float>& References() { return m_references; }
    const std::map < std::string, float>& References() const { return m_references; }
    bool PromediateMethyls() const { return m_bpmethyls; }
    void SetPromediateMethyls(bool b) { m_bpmethyls=b; }
    private:
    std::map< std::string, float > m_references;
    bool m_bpmethyls;

};

#endif
