/* * AtomFragmentsMap.hpp * * Created on: Mar 7, 2016 * Author: heber */ #ifndef ATOMFRAGMENTSMAP_HPP_ #define ATOMFRAGMENTSMAP_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include #include "types.hpp" class KeySet; class Graph; /** This class creates in instantiation a map connecting each atom with * the (known) fragments it takes part in. * */ class AtomFragmentsMap { public: AtomFragmentsMap( const Graph &_graph, size_t _MaxOrder); typedef std::list keysets_t; //!> typedef for the internal map typedef std::map AtomFragmentsMap_t; const AtomFragmentsMap_t& getMap() const { return atommap; } private: //!> internal map filled on instantiation AtomFragmentsMap_t atommap; }; #endif /* ATOMFRAGMENTSMAP_HPP_ */