Vcsn
2.3
Be Rational
|
Weighted set: general, ordered, case. More...
#include <wet.hh>
Public Types | |
using | self_t = wet_map |
using | key_t = Key |
using | value_t = Value |
using | welement_t = welement< key_t, value_t > |
using | mapped_type = typename map_t::mapped_type |
using | value_type = typename map_t::value_type |
using | iterator = typename map_t::iterator |
using | const_iterator = typename map_t::const_iterator |
Public Member Functions | |
wet_map ()=default | |
wet_map (std::initializer_list< value_type > l) | |
void | set (const key_t &k, const value_t &v) |
void | set (const iterator &i, const value_t &v) |
template<typename Fun > | |
void | for_each (Fun f) const |
template<typename... Args> | |
auto | key_comp (Args &&...args) const -> decltype(map_.key_comp(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | emplace (Args &&...args) -> decltype(map_.emplace(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | clear (Args &&...args) -> decltype(map_.clear(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | begin (Args &&...args) const -> decltype(map_.begin(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | find (Args &&...args) const -> decltype(map_.find(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | find (Args &&...args) -> decltype(map_.find(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | erase (Args &&...args) -> decltype(map_.erase(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | end (Args &&...args) const -> decltype(map_.end(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | begin (Args &&...args) -> decltype(map_.begin(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | end (Args &&...args) -> decltype(map_.end(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | empty (Args &&...args) const -> decltype(map_.empty(std::forward< Args >(args)...)) |
template<typename... Args> | |
auto | size (Args &&...args) const -> decltype(map_.size(std::forward< Args >(args)...)) |
Static Public Member Functions | |
static const key_t & | key_of (const value_type &p) |
static const value_t & | value_of (const value_type &p) |
Static Public Attributes | |
static constexpr wet_kind_t | kind = wet_kind_t::map |
Private Types | |
using | map_t = std::map< Key, Value, Compare > |
Private Attributes | |
map_t | map_ |
Weighted set: general, ordered, case.
using vcsn::detail::wet_map< Key, Value, Compare >::const_iterator = typename map_t::const_iterator |
using vcsn::detail::wet_map< Key, Value, Compare >::iterator = typename map_t::iterator |
using vcsn::detail::wet_map< Key, Value, Compare >::key_t = Key |
|
private |
using vcsn::detail::wet_map< Key, Value, Compare >::mapped_type = typename map_t::mapped_type |
using vcsn::detail::wet_map< Key, Value, Compare >::self_t = wet_map |
using vcsn::detail::wet_map< Key, Value, Compare >::value_t = Value |
using vcsn::detail::wet_map< Key, Value, Compare >::value_type = typename map_t::value_type |
using vcsn::detail::wet_map< Key, Value, Compare >::welement_t = welement<key_t, value_t> |
|
default |
|
inline |
|
inline |
Definition at line 296 of file wet.hh.
Referenced by vcsn::detail::wet_map< Key, Value, Compare >::for_each().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 300 of file wet.hh.
Referenced by vcsn::detail::wet_map< Key, Value, Compare >::for_each().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 278 of file wet.hh.
References vcsn::detail::wet_map< Key, Value, Compare >::begin(), and vcsn::detail::wet_map< Key, Value, Compare >::end().
|
inline |
|
inlinestatic |
|
inline |
Definition at line 267 of file wet.hh.
References vcsn::detail::v.
|
inline |
Definition at line 272 of file wet.hh.
References vcsn::detail::v.
|
inline |
|
inlinestatic |
|
static |
|
private |