Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::object_cache< Key, Object > Class Template Reference

#include <object_cache.hpp>

Public Types

typedef std::pair
< ::boost::shared_ptr< Object
const >, Key const * > 
value_type
 
typedef std::list< value_typelist_type
 
typedef list_type::iterator list_iterator
 
typedef std::map< Key,
list_iterator
map_type
 
typedef map_type::iterator map_iterator
 
typedef list_type::size_type size_type
 

Static Public Member Functions

static boost::shared_ptr
< Object const > 
get (const Key &k, size_type l_max_cache_size)
 

Friends

struct data
 

Member Typedef Documentation

template<class Key, class Object >
typedef list_type::iterator boost::object_cache< Key, Object >::list_iterator
template<class Key, class Object >
typedef std::list<value_type> boost::object_cache< Key, Object >::list_type
template<class Key, class Object >
typedef map_type::iterator boost::object_cache< Key, Object >::map_iterator
template<class Key, class Object >
typedef std::map<Key, list_iterator> boost::object_cache< Key, Object >::map_type
template<class Key, class Object >
typedef list_type::size_type boost::object_cache< Key, Object >::size_type
template<class Key, class Object >
typedef std::pair< ::boost::shared_ptr<Object const>, Key const*> boost::object_cache< Key, Object >::value_type

Member Function Documentation

template<class Key , class Object >
boost::shared_ptr< Object const > boost::object_cache< Key, Object >::get ( const Key &  k,
size_type  l_max_cache_size 
)
static

Friends And Related Function Documentation

template<class Key, class Object >
friend struct data
friend

The documentation for this class was generated from the following file: