source:
src/Fragmentation/Exporters/ExportGraph_ToAtomFragments.hpp@
d07be9
| Last change on this file since d07be9 was c24071, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 1.4 KB | |
| Rev | Line | |
|---|---|---|
| [d9dbef] | 1 | /* |
| 2 | * ExportGraph_ToAtomFragments.hpp | |
| 3 | * | |
| 4 | * Created on: Mar 07, 2016 | |
| 5 | * Author: heber | |
| 6 | */ | |
| 7 | ||
| 8 | #ifndef EXPORTGRAPH_TOATOMFRAGMENTS_HPP_ | |
| 9 | #define EXPORTGRAPH_TOATOMFRAGMENTS_HPP_ | |
| 10 | ||
| 11 | // include config.h | |
| 12 | #ifdef HAVE_CONFIG_H | |
| 13 | #include <config.h> | |
| 14 | #endif | |
| 15 | ||
| 16 | #include "Fragmentation/HydrogenSaturation_enum.hpp" | |
| 17 | #include "Fragmentation/Exporters/ExportGraph.hpp" | |
| 18 | ||
| 19 | /** ExportGraph_ToAtomFragments implements an ExportGraph by sending the created | |
| 20 | * configurations of fragmentary systems as keysets and forcekeysets, i.e. | |
| 21 | * including excluded hydrogens, to AtomFragmentsMap. | |
| 22 | * | |
| 23 | */ | |
| 24 | class ExportGraph_ToAtomFragments : public ExportGraph | |
| 25 | { | |
| 26 | public: | |
| 27 | /** Constructor for ExportGraph_ToAtomFragments. | |
| 28 | * | |
| 29 | * Sets default level. | |
| 30 | * | |
| 31 | * \param _graph Graph with all KeySet's | |
| 32 | * \param _treatment whether hydrogen is excluded in the _graph or not | |
| 33 | * \param _saturation whether we saturate dangling bonds or not | |
| 34 | * \param _globalsaturationpositions possibly empty map with global information | |
| 35 | * where to place saturation hydrogens to fulfill consistency principle | |
| 36 | */ | |
| 37 | ExportGraph_ToAtomFragments( | |
| 38 | const Graph &_graph, | |
| 39 | const enum HydrogenTreatment _treatment, | |
| 40 | const enum HydrogenSaturation _saturation, | |
| 41 | const SaturatedFragment::GlobalSaturationPositions_t &_globalsaturationpositions); | |
| 42 | virtual ~ExportGraph_ToAtomFragments(); | |
| 43 | ||
| [c24071] | 44 | bool operator()(); |
| [d9dbef] | 45 | }; |
| 46 | ||
| 47 | #endif /* EXPORTGRAPH_TOATOMFRAGMENTS_HPP_ */ |
Note:
See TracBrowser
for help on using the repository browser.
