Boost C++ Libraries Boost.Bimap Home Libraries People FAQ More

PrevUpHomeNext

relation

The relation. More...


Namespaces

namespace  boost::bimaps::relation
 Defines the relation class.
namespace  boost::bimaps::relation::member_at
 member_at::side idiom to access relation values and types using metaprogramming.
namespace  boost::bimaps::relation::support
 Functions, Metafunctions and Utilies to work with the relation class.

Classes

struct  data_extractor
 Data extraction functor. More...
struct  get_above_view_functor
 A Functor that takes a relation as a parameter an return the above view. More...
struct  get_pair_functor
 A Functor that takes a relation as a parameter an return the desired view. More...
struct  is_tag_of_member_at_left
 Metafunction to test if a user tag is refering to the left member. More...
struct  is_tag_of_member_at_right
 Metafunction to test if a user tag is refering to the left member. More...
struct  member_with_tag
 Metafunction to convert user tags to the member_at idiom. More...
class  mutant_relation
 Abstraction of a related pair of values, that extends the std::pair class. More...
struct  opposite_tag
 Metafunction to obtain the opposite tag in a relation. More...
struct  pair_type_by
 Metafunction to obtain the view type indexed by one of the sides. More...
struct  select_relation
 Abstraction of a related pair of values, that extends the std::pair class. More...
class  standard_relation
 Abstraction of a related pair of values, that extends the std::pair class. More...
struct  value_type_of
 Metafunction to obtain the value type of one of the sides. More...

Functions

template<class Tag, class SymmetricType>
BOOST_DEDUCED_TYPENAME result_of::get<
Tag, SymmetricType >::type 
get (SymmetricType &)
 Gets a pair view of the relation.
template<class Tag, class Relation>
BOOST_DEDUCED_TYPENAME result_of::pair_by<
Tag, Relation >::type 
pair_by (Relation &rel)
 Gets a pair view of the relation.

Detailed Description

The relation.

Copyright 2006 Matias Capeletto


PrevUpHomeNext