#ifndef FINE_TYPE_H
#define FINE_TYPE_H

#ifndef ARRAY_H
#include "Array.h"
#endif

namespace MM
{
class Text;

class Fine_type
{
public:
    enum {none = 0, no_charge = 12345};

    static bool             exist   (char const * name);
    static int              id      (char const * name);
    static char const *     name    (int id);

    static char const *     to      (char const * fine_type,
                                     char const * in,
                                     double     * charge);

    static void             map     (char const * fine_type,
                                     char const * mm_type,
                                     double       charge,
                                     char const * in);

    static void             force_field_list (Array <Text> & list);

    static void             add     (char const * name);
    //static void             erase   (int id);
    //static void             erase   (char const * name);
};

}//MM

#endif //FINE_TYPE_H
