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

PrevUpHomeNext

standard_relation Class Template Reference
[relation]

Abstraction of a related pair of values, that extends the std::pair class. More...

#include <standard_relation.hpp>

List of all members.

Public Types

typedef standard_relation<
TA, TB > 
above_view
typedef standard_relation_view<
TA, TB > 
above_view_reference
typedef const standard_relation<
TA, TB > 
const_above_view
typedef const const_standard_relation_view<
TA, TB > 
const_above_view_reference
typedef BOOST_DEDUCED_TYPENAME
tags::support::default_tagged<
TA, member_at::left >::type 
tagged_left_type
typedef BOOST_DEDUCED_TYPENAME
tags::support::default_tagged<
TB, member_at::right >::type 
tagged_right_type
typedef const standard_pair_view<
TA, TB, true, normal_layout
const_left_pair_reference
typedef const standard_pair_view<
TB, TA, true, mirror_layout
const_right_pair_reference
typedef structured_pair< TA,
TB, normal_layout
left_pair
 A signature compatible std::pair that is a view of the relation.
typedef standard_pair_view<
TA, TB, false, normal_layout
left_pair_reference
typedef structured_pair< TB,
TA, mirror_layout
right_pair
typedef standard_pair_view<
TB, TA, false, mirror_layout
right_pair_reference
typedef BOOST_DEDUCED_TYPENAME
tagged_left_type::tag 
left_tag
 The tag of the member. By default it is member_at::{side}.
typedef BOOST_DEDUCED_TYPENAME
tagged_right_type::tag 
right_tag
 The tag of the member. By default it is member_at::{side}.
typedef BOOST_DEDUCED_TYPENAME::boost::mpl::if_c<
force_mutable, BOOST_DEDUCED_TYPENAME::boost::remove_const<
BOOST_DEDUCED_TYPENAME tagged_left_type::value_type
>::type, BOOST_DEDUCED_TYPENAME
tagged_left_type::value_type
>::type 
left_value_type
 The type stored in the relation.
typedef BOOST_DEDUCED_TYPENAME::boost::mpl::if_c<
force_mutable, BOOST_DEDUCED_TYPENAME::boost::remove_const<
BOOST_DEDUCED_TYPENAME tagged_right_type::value_type
>::type, BOOST_DEDUCED_TYPENAME
tagged_right_type::value_type
>::type 
right_value_type
 The type stored in the relation.

Public Member Functions

template<class Tag>
BOOST_DEDUCED_TYPENAME::boost::bimaps::relation::support::result_of::get<
Tag, standard_relation
>::type 
get (BOOST_EXPLICIT_TEMPLATE_TYPE(Tag))
template<class Tag>
const BOOST_DEDUCED_TYPENAME::boost::bimaps::relation::support::result_of::get<
Tag, standard_relation
>::type 
get (BOOST_EXPLICIT_TEMPLATE_TYPE(Tag)) const
const left_value_typeget_left () const
left_value_typeget_left ()
const_left_pair_reference get_left_pair () const
left_pair_reference get_left_pair ()
const right_value_typeget_right () const
right_value_typeget_right ()
const_right_pair_reference get_right_pair () const
right_pair_reference get_right_pair ()
const_above_view_reference get_view () const
above_view_reference get_view ()
template<bool FM>
standard_relationoperator= (const standard_relation< TA, TB, FM > &rel)
 standard_relation (const right_pair &rp)
 standard_relation (const left_pair &lp)
 standard_relation (const const_standard_relation_view< TA, TB > &rel)
 standard_relation (const standard_relation_view< TA, TB > &rel)
 standard_relation (const relation_not_force_mutable &rel)
 standard_relation (const relation_force_mutable &rel)
 standard_relation (BOOST_DEDUCED_TYPENAME::boost::call_traits< left_value_type >::param_type l, BOOST_DEDUCED_TYPENAME::boost::call_traits< right_value_type >::param_type r)
 standard_relation ()

Public Attributes

left_value_type left
 data, exposed for easy manipulation
right_value_type right
 data, exposed for easy manipulation

Friends

class ::boost::serialization::access


Detailed Description

template<class TA, class TB, bool force_mutable>
class boost::bimaps::relation::standard_relation< TA, TB, force_mutable >

Abstraction of a related pair of values, that extends the std::pair class.

This is a standard compliant suboptimal relation class.

See also standard_relation, mutant_relation.

Definition at line 57 of file standard_relation.hpp.


The documentation for this class was generated from the following file:
Copyright 2006 Matias Capeletto

PrevUpHomeNext