Struct template has_property
alps::has_property
Synopsis
template<typename Property, typename Graph, typename Default = int>
struct has_property {
typedef Default vertex_property_type;
typedef Default edge_property_type;
typedef Default graph_property_type;
typedef Default property_type;
typedef property_type type;
typedef vertex_property_type site_property_type;
typedef edge_property_type bond_property_type;
BOOST_STATIC_CONSTANT(bool, vertex_property = false);
BOOST_STATIC_CONSTANT(bool, edge_property = false);
BOOST_STATIC_CONSTANT(bool, graph_property = false);
BOOST_STATIC_CONSTANT(bool, any_property = false);
BOOST_STATIC_CONSTANT(bool, site_property = vertex_property);
BOOST_STATIC_CONSTANT(bool, bond_property = edge_property);
};
Description
has_property
public member functions
BOOST_STATIC_CONSTANT(bool, vertex_property = false);
BOOST_STATIC_CONSTANT(bool, edge_property = false);
BOOST_STATIC_CONSTANT(bool, graph_property = false);
BOOST_STATIC_CONSTANT(bool, any_property = false);
BOOST_STATIC_CONSTANT(bool, site_property = vertex_property);
BOOST_STATIC_CONSTANT(bool, bond_property = edge_property);