OTest2
A C++ testing framework
Public Types | Static Public Member Functions | List of all members
OTest2::Private::MapTraitImplCommon< Container_ > Struct Template Reference

#include <containertrait.h>

Inheritance diagram for OTest2::Private::MapTraitImplCommon< Container_ >:
Inheritance graph
[legend]

Public Types

typedef Container_::key_type KeyType
 Type of the key. More...
 
typedef Container_::mapped_type ValueType
 Type of the mapped value. More...
 
typedef Container_::const_iterator const_iterator
 

Static Public Member Functions

static const_iterator begin (const Container_ &cont_)
 Get the beginning forward iterator. More...
 
static const_iterator end (const Container_ &cont_)
 Get ending iterator. More...
 
static std::pair< const_iterator, const_iteratorequalRange (const Container_ &cont_, typename TypeTrait< KeyType >::BestArg key_)
 Get range of items with the same key. More...
 

Detailed Description

template<typename Container_>
struct OTest2::Private::MapTraitImplCommon< Container_ >

Definition at line 80 of file containertrait.h.

Member Typedef Documentation

◆ const_iterator

template<typename Container_ >
typedef Container_::const_iterator OTest2::Private::MapTraitImplCommon< Container_ >::const_iterator

Definition at line 91 of file containertrait.h.

◆ KeyType

template<typename Container_ >
typedef Container_::key_type OTest2::Private::MapTraitImplCommon< Container_ >::KeyType

Type of the key.

Definition at line 84 of file containertrait.h.

◆ ValueType

template<typename Container_ >
typedef Container_::mapped_type OTest2::Private::MapTraitImplCommon< Container_ >::ValueType

Type of the mapped value.

Definition at line 89 of file containertrait.h.

Member Function Documentation

◆ begin()

template<typename Container_ >
static const_iterator OTest2::Private::MapTraitImplCommon< Container_ >::begin ( const Container_ &  cont_)
inlinestatic

Get the beginning forward iterator.

Definition at line 96 of file containertrait.h.

◆ end()

template<typename Container_ >
static const_iterator OTest2::Private::MapTraitImplCommon< Container_ >::end ( const Container_ &  cont_)
inlinestatic

Get ending iterator.

Definition at line 104 of file containertrait.h.

◆ equalRange()

template<typename Container_ >
static std::pair<const_iterator, const_iterator> OTest2::Private::MapTraitImplCommon< Container_ >::equalRange ( const Container_ &  cont_,
typename TypeTrait< KeyType >::BestArg  key_ 
)
inlinestatic

Get range of items with the same key.

Definition at line 112 of file containertrait.h.


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