Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
property.hpp File Reference
#include <boost/mpl/bool.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/has_xxx.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits.hpp>
#include <boost/static_assert.hpp>
#include <boost/pending/detail/property.hpp>
Include dependency graph for property.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::no_property
 
struct  boost::property< Tag, T, Base >
 
struct  boost::graph_introspect_detail::get_kind< T, Cond >
 
struct  boost::graph_introspect_detail::get_kind< T, true >
 
struct  boost::property_kind< PropertyTag >
 
struct  boost::lookup_one_property_internal< PList, PropName, Enable >
 
struct  boost::lookup_one_property_internal< T, vertex_all_t >
 
struct  boost::lookup_one_property_internal< property< Tag, T, Base >, vertex_all_t >
 
struct  boost::lookup_one_property_internal< T, edge_all_t >
 
struct  boost::lookup_one_property_internal< property< Tag, T, Base >, edge_all_t >
 
struct  boost::lookup_one_property_internal< T, graph_all_t >
 
struct  boost::lookup_one_property_internal< property< Tag, T, Base >, graph_all_t >
 
struct  boost::lookup_one_property_internal< T, BOOST_JOIN(vertex, _bundle_t)>
 
struct  boost::lookup_one_property_internal< property< Tag, T, Base >, BOOST_JOIN(vertex, _bundle_t)>
 
struct  boost::lookup_one_property_internal< T, BOOST_JOIN(edge, _bundle_t)>
 
struct  boost::lookup_one_property_internal< property< Tag, T, Base >, BOOST_JOIN(edge, _bundle_t)>
 
struct  boost::lookup_one_property_internal< T, BOOST_JOIN(graph, _bundle_t)>
 
struct  boost::lookup_one_property_internal< property< Tag, T, Base >, BOOST_JOIN(graph, _bundle_t)>
 
struct  boost::lookup_one_property_internal< boost::property< Tag, T, Base >, Tag >
 
struct  boost::lookup_one_property_internal< boost::property< Tag, T, Base >, PropName >
 
struct  boost::lookup_one_property_internal< T, R TMaybeBase::*, typename enable_if< is_base_of< TMaybeBase, T > >::type >
 
struct  boost::lookup_one_property< T, Tag >
 
struct  boost::lookup_one_property< const T, Tag >
 
struct  boost::has_property< P >
 
struct  boost::has_property< no_property >
 
struct  boost::property_value< PropertyList, Tag >
 
struct  boost::detail::is_no_property< T >
 This trait returns true if T is no_property. More...
 
class  boost::detail::lookup_one_property_f< PList, Tag >
 
struct  boost::detail::lookup_one_property_f_result< PList, Tag, F >
 
struct  boost::detail::lookup_one_property_f_result< PList, Tag, const lookup_one_property_f< PList, Tag >(PList)>
 
struct  boost::detail::lookup_one_property_f_result< PList, Tag, const lookup_one_property_f< PList, Tag >(PList &)>
 
struct  boost::detail::lookup_one_property_f_result< PList, Tag, const lookup_one_property_f< PList, Tag >(const PList &)>
 
class  boost::detail::lookup_one_property_f< PList, Tag >
 
struct  boost::detail::lookup_one_property_f< PList, Tag >::result< F >
 
struct  boost::detail::remove_first_property
 
struct  boost::detail::remove_first_property::result< F >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::graph_introspect_detail
 
 boost::detail
 

Macros

#define BGL_ALL_PROP(tag)
 
#define BGL_DO_ONE_BUNDLE_TYPE(kind)
 

Enumerations

enum  boost::vertex_all_t { boost::vertex_all }
 
enum  boost::edge_all_t { boost::edge_all }
 
enum  boost::graph_all_t { boost::graph_all }
 
enum  boost::vertex_bundle_t { boost::vertex_bundle }
 
enum  boost::edge_bundle_t { boost::edge_bundle }
 
enum  boost::graph_bundle_t { boost::graph_bundle }
 

Functions

template<class PropertyList , class Tag >
lookup_one_property
< PropertyList, Tag >::type & 
boost::get_property_value (PropertyList &p, Tag tag)
 
template<class PropertyList , class Tag >
const lookup_one_property
< PropertyList, Tag >::type & 
boost::get_property_value (const PropertyList &p, Tag tag)
 

Macro Definition Documentation

#define BGL_ALL_PROP (   tag)
Value:
template <typename T> \
struct lookup_one_property_internal<T, tag> { \
BOOST_STATIC_CONSTANT(bool, found = true); \
typedef T type; \
static T& lookup(T& x, tag) {return x;} \
static const T& lookup(const T& x, tag) {return x;} \
}; \
template <typename Tag, typename T, typename Base> \
struct lookup_one_property_internal<property<Tag, T, Base>, tag> { /* Avoid ambiguity */ \
BOOST_STATIC_CONSTANT(bool, found = true); \
typedef property<Tag, T, Base> type; \
static type& lookup(type& x, tag) {return x;} \
static const type& lookup(const type& x, tag) {return x;} \
};
boost_foreach_argument_dependent_lookup_hack tag
Definition: foreach_fwd.hpp:31
T
Definition: mem_fn_cc.hpp:25
Traits const flyweight< T, Arg_1, Arg_2, Arg_3, Arg_4, Arg_5 > &x return out<< x.get();}template< BOOST_TEMPLATED_STREAM_COMMA typename T, typename Arg_1, typename Arg_2, typename Arg_3, typename Arg_4, typename Arg_5 > Traits flyweight< T, Arg_1, Arg_2, Arg_3, Arg_4, Arg_5 > & x
Definition: flyweight.hpp:423
BOOST_PYTHON_DECL registration const & lookup(type_info)
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_STATIC_CONSTANT(type, assignment)
Definition: suffix.hpp:394
#define BGL_DO_ONE_BUNDLE_TYPE (   kind)
Value:
template <typename T> \
struct lookup_one_property_internal<T, BOOST_JOIN(kind, _bundle_t)> { \
BOOST_STATIC_CONSTANT(bool, found = true); \
typedef T type; \
static T& lookup(T& x, BOOST_JOIN(kind, _bundle_t)) {return x;} \
static const T& lookup(const T& x, BOOST_JOIN(kind, _bundle_t)) {return x;} \
}; \
\
template <typename Tag, typename T, typename Base> \
struct lookup_one_property_internal<property<Tag, T, Base>, BOOST_JOIN(kind, _bundle_t)>: lookup_one_property_internal<Base, BOOST_JOIN(kind, _bundle_t)> { \
private: \
typedef lookup_one_property_internal<Base, BOOST_JOIN(kind, _bundle_t)> base_type; \
public: \
template <typename BundleTag> \
add_reference<typename base_type::type> >::type \
lookup(property<Tag, T, Base>& p, BundleTag) {return base_type::lookup(p.m_base, BOOST_JOIN(kind, _bundle_t)());} \
template <typename BundleTag> \
add_reference<const typename base_type::type> >::type \
lookup(const property<Tag, T, Base>& p, BundleTag) {return base_type::lookup(p.m_base, BOOST_JOIN(kind, _bundle_t)());} \
}; \
T
Definition: mem_fn_cc.hpp:25
Traits const flyweight< T, Arg_1, Arg_2, Arg_3, Arg_4, Arg_5 > &x return out<< x.get();}template< BOOST_TEMPLATED_STREAM_COMMA typename T, typename Arg_1, typename Arg_2, typename Arg_3, typename Arg_4, typename Arg_5 > Traits flyweight< T, Arg_1, Arg_2, Arg_3, Arg_4, Arg_5 > & x
Definition: flyweight.hpp:423
cpp_int_backend< MinBits1, MaxBits1, SignType1, Checked1, Allocator1 >::limb_pointer p
Definition: multiply.hpp:28
#define BOOST_JOIN(X, Y)
Definition: suffix.hpp:544
BOOST_PYTHON_DECL registration const & lookup(type_info)
typed_value< T > * value()
Creates a typed_value instance.
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_STATIC_CONSTANT(type, assignment)
Definition: suffix.hpp:394