00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef _RD_BOND_PROPS_H
00014 #define _RD_BOND_PROPS_H
00015
00016
00017 #include <boost/property_map.hpp>
00018 #include <boost/smart_ptr.hpp>
00019
00020 #include "Bond.h"
00021
00022 namespace RDKit {
00023 typedef boost::shared_ptr<Bond> BOND_SPTR;
00024 struct edge_bond_t {
00025 enum { num = 1002 };
00026 typedef boost::edge_property_tag kind;
00027 };
00028 struct edge_wght_t {
00029 enum { num = 1003 };
00030 typedef boost::edge_property_tag kind;
00031 };
00032
00033 typedef boost::property<edge_wght_t,double> BondWeight;
00034 typedef boost::property<edge_bond_t,Bond *,BondWeight> BondProperty;
00035 }
00036
00037 #endif