Skip to content

Commit

Permalink
Added property types to python export
Browse files Browse the repository at this point in the history
  • Loading branch information
jlheflin committed Sep 6, 2024
1 parent 2ebd77e commit fc34498
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion src/python/export_ghostfragment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,40 @@
* limitations under the License.
*/

#include "ghostfragment/property_types/fragmenting/capped_fragments.hpp"
#include "ghostfragment/property_types/fragmenting/fragment_weights.hpp"
#include "ghostfragment/property_types/fragmenting/fragmented_chemical_system.hpp"
#include "ghostfragment/property_types/fragmenting/fragmented_nuclei.hpp"
#include "ghostfragment/property_types/fragmenting/intersections.hpp"
#include "ghostfragment/property_types/fragmenting/nuclear_graph_to_fragments.hpp"
#include "ghostfragment/property_types/topology/broken_bonds.hpp"
#include "ghostfragment/property_types/topology/connectivity_table.hpp"
#include "ghostfragment/property_types/topology/nuclear_graph.hpp"
#include "property_type/macros.hpp"
#include <ghostfragment/ghostfragment.hpp>
#include <pluginplay/pluginplay.hpp>

namespace ghostfragment {

EXPORT_PLUGIN(ghostfragment, m) {}
EXPORT_PLUGIN(ghostfragment, m) {
EXPORT_PROPERTY_TYPE(pt::CappedFragments, m);
EXPORT_PROPERTY_TYPE(pt::CappedFragmentsTraits, m);
EXPORT_PROPERTY_TYPE(pt::NuclearGraphToFragments, m);
EXPORT_PROPERTY_TYPE(pt::NuclearGraphToFragmentsTraits, m);
EXPORT_PROPERTY_TYPE(pt::NuclearGraph, m);
EXPORT_PROPERTY_TYPE(pt::NuclearGraphTraits, m);
EXPORT_PROPERTY_TYPE(pt::FragmentedNuclei, m);
EXPORT_PROPERTY_TYPE(pt::FragmentedNucleiTraits, m);
EXPORT_PROPERTY_TYPE(pt::FragmentedChemicalSystem, m);
EXPORT_PROPERTY_TYPE(pt::FragmentedChemicalSystemTraits, m);
EXPORT_PROPERTY_TYPE(pt::FragmentWeights, m);
EXPORT_PROPERTY_TYPE(pt::FragmentWeightsTraits, m);
EXPORT_PROPERTY_TYPE(pt::ConnectivityTable, m);
EXPORT_PROPERTY_TYPE(pt::ConnectivityTableTraits, m);
EXPORT_PROPERTY_TYPE(pt::BrokenBonds, m);
EXPORT_PROPERTY_TYPE(pt::BrokenBondsTraits, m);
EXPORT_PROPERTY_TYPE(pt::Intersections, m);
EXPORT_PROPERTY_TYPE(pt::IntersectionTraits, m);
}

} // namespace ghostfragment

0 comments on commit fc34498

Please sign in to comment.