Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

mpcl::io::TStreamableMap< TKey, TItem, TCompare, TItemAllocator > Class Template Reference

#include <streamable_map.hh>

Inheritance diagram for mpcl::io::TStreamableMap< TKey, TItem, TCompare, TItemAllocator >:

mpcl::util::collection::TMap< TKey, TItem, TCompare, TItemAllocator > mpcl::io::IStreamable<> List of all members.

Public Types

typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::const_iterator 
const_iterator
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::const_pointer 
const_pointer
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::const_reference 
const_reference
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::const_reverse_iterator 
const_reverse_iterator
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::difference_type 
difference_type
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::iterator 
iterator
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::key_compare 
key_compare
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::key_type 
key_type
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::mapped_type 
mapped_type
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::pointer 
pointer
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::reference 
reference
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::reverse_iterator 
reverse_iterator
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::size_type 
size_type
typedef std::map< TKey, TItem,
TCompare, TItemAllocator
>::value_type 
value_type

Public Methods

 TStreamableMap (void)
 Builds a new instance.

 TStreamableMap (const TCompare &rktCOMPARE)
 Builds a new instance.

template<typename InputIterator>  TStreamableMap (InputIterator tBEGIN, InputIterator tEND)
 Builds a new instance.

template<typename InputIterator>  TStreamableMap (InputIterator tBEGIN, InputIterator tEND, const TCompare &rktCOMPARE)
 Builds a new instance.

 TStreamableMap (const std::map< TKey, TItem, TCompare, TItemAllocator > &rktSOURCE_MAP)
 Builds a new instance.

TStreamableMap< TKey, TItem,
TCompare, TItemAllocator > & 
operator= (const TStreamableMap< TKey, TItem, TCompare, TItemAllocator > &rktSOURCE_MAP)

Detailed Description

template<typename TKey, typename TItem, typename TCompare = std::less<TKey>, typename TItemAllocator = std::allocator<TItem>>
class mpcl::io::TStreamableMap< TKey, TItem, TCompare, TItemAllocator >

Extended map.

Warning:
This class follow the naming conventions used in STL classes.

Definition at line 52 of file streamable_map.hh.


Member Function Documentation

template<typename TKey, typename TItem, typename TCompare = std::less<TKey>, typename TItemAllocator = std::allocator<TItem>>
TStreamableMap<TKey, TItem, TCompare, TItemAllocator>& mpcl::io::TStreamableMap< TKey, TItem, TCompare, TItemAllocator >::operator= const TStreamableMap< TKey, TItem, TCompare, TItemAllocator > &    rktSOURCE_MAP [inline]
 

Copies another map onto this instance.

Parameters:
rktSOURCE_MAP  Source map.
Returns:
This instance.

Definition at line 161 of file streamable_map.hh.


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:35:25 2003 for MPCL by doxygen1.2.18