ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Struct template has_property

alps::has_property

Synopsis

// In header: <alps/lattice/propertymap.h>

template<typename Property, typename Graph, typename Default = int> 
struct has_property {
  // types
  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;  

  // 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);
};

Description

has_property public member functions

  1.  BOOST_STATIC_CONSTANT(bool, vertex_property = false);
  2.  BOOST_STATIC_CONSTANT(bool, edge_property = false);
  3.  BOOST_STATIC_CONSTANT(bool, graph_property = false);
  4.  BOOST_STATIC_CONSTANT(bool, any_property = false);
  5.  BOOST_STATIC_CONSTANT(bool, site_property = vertex_property);
  6.  BOOST_STATIC_CONSTANT(bool, bond_property = edge_property);
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext