Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
utility::keys::ClassKeyVector< K, T, C > Class Template Reference

Keyed-access vector with key subset map for each client class. More...

#include <ClassKeyVector.hh>

Public Types

typedefkey_type
 
typedef Vector::value_type value_type
 
typedef Vector::reference reference
 
typedef Vector::const_reference const_reference
 
typedef Vector::pointer pointer
 
typedef Vector::const_pointer const_pointer
 
typedef Vector::iterator iterator
 
typedef Vector::const_iterator const_iterator
 
typedef Vector::reverse_iterator reverse_iterator
 
typedef
Vector::const_reverse_iterator 
const_reverse_iterator
 
typedef Vector::size_type size_type
 
typedef Vector::index_type index_type
 
typedef Vector::difference_type difference_type
 
typedef Vector::allocator_type allocator_type
 
typedef C client_type
 
typedefKey
 
typedef Vector::Value Value
 
typedef Vector::Reference Reference
 
typedef Vector::ConstReference ConstReference
 
typedef Vector::Pointer Pointer
 
typedef Vector::ConstPointer ConstPointer
 
typedef Vector::Iterator Iterator
 
typedef Vector::ConstIterator ConstIterator
 
typedef Vector::ReverseIterator ReverseIterator
 
typedef
Vector::ConstReverseIterator 
ConstReverseIterator
 
typedef Vector::Size Size
 
typedef Vector::Index Index
 
typedef Vector::Difference Difference
 
typedef Vector::Allocator Allocator
 
typedef C Client
 

Public Member Functions

 ClassKeyVector ()=default
 Default constructor. More...
 
 ClassKeyVector (ClassKeyVector const &a)
 Copy constructor. More...
 
 ClassKeyVector (Size const num)
 Size constructor. More...
 
 ClassKeyVector (Size const num, Value const &value)
 Uniform value constructor. More...
 
template<typename InputIterator >
 ClassKeyVector (InputIterator const beg, InputIterator const end)
 Iterator range constructor. More...
 
 ~ClassKeyVector ()
 Destructor. More...
 
ClassKeyVectoroperator= (ClassKeyVector const &a)
 Copy assignment. More...
 
ClassKeyVectoroperator= (Value const &value)
 Uniform value assignment to current elements. More...
 
ClassKeyVectorassign (Key const &key, Value const &value)
 Assign a value to an element with a key. More...
 
void assign (Size const num, Value const &value)
 Uniform value assignment. More...
 
template<typename InputIterator >
void assign (InputIterator const beg, InputIterator const end)
 Iterator assignment. More...
 
ClassKeyVectoradd (Key const &key)
 Add an element with a key if not present: Activate key if inactive. More...
 
Iterator insert (Iterator const pos, Value const &value)
 Insert an element at an iterator position. More...
 
void insert (Iterator const pos, Size const num, Value const &value)
 Insert num copies of an element at an iterator position. More...
 
template<typename InputIterator >
void insert (Iterator const pos, InputIterator const beg, InputIterator const end)
 Insert elements from iterator range [beg,end) at an iterator position. More...
 
void push_back (Value const &value)
 Appends an element. More...
 
Iterator erase (Iterator const pos)
 Erase an element at an iterator position. More...
 
Iterator erase (Iterator const beg, Iterator const end)
 Erase elements in the iterator range [beg,end) More...
 
void pop_back ()
 Removes the last element. More...
 
void resize (Size const num)
 Resize: Default construct new elements. More...
 
void resize (Size const num, Value const &value)
 Resize: Assign given value to new elements. More...
 
void reserve (Size const num)
 Reserve space for a given number of elements. More...
 
void shrink ()
 Shrink the vector to remove unused capacity. More...
 
template<typename Compare >
void sort (Compare compare)
 Sort the vector with a given predicate. More...
 
void swap (ClassKeyVector &a)
 swap( ClassKeyVector ) More...
 
void clear ()
 Clear the vector. More...
 
Size size () const
 Size. More...
 
bool empty () const
 Empty? More...
 
Size max_size () const
 Max size. More...
 
Size capacity () const
 Capacity. More...
 
ConstReference front () const
 Front element. More...
 
Reference front ()
 Front element. More...
 
ConstReference back () const
 Back element. More...
 
Reference back ()
 Back element. More...
 
bool has (Key const &key) const
 Is an element with a key present? More...
 
ConstIterator find (Key const &key) const
 Iterator to element with a key. More...
 
Iterator find (Key const &key)
 Iterator to element with a key. More...
 
Reference operator() (Key const &key)
 ClassKeyVector( key ) More...
 
ConstReference operator[] (Key const &key) const
 ClassKeyVector[ key ] const. More...
 
Reference operator[] (Key const &key)
 ClassKeyVector[ key ]. More...
 
ConstReference at (Key const &key) const
 Element at index key: Bounds checked. More...
 
Reference at (Key const &key)
 Element at index key: Bounds checked. More...
 
ConstReference operator[] (Index const &i) const
 ClassKeyVector[ index ] const. More...
 
Reference operator[] (Index const &i)
 ClassKeyVector[ index ]. More...
 
ConstIterator begin () const
 Begin iterator. More...
 
Iterator begin ()
 Begin iterator. More...
 
ConstIterator end () const
 End iterator. More...
 
Iterator end ()
 End iterator. More...
 
ConstReverseIterator rbegin () const
 Begin reverse iterator. More...
 
ReverseIterator rbegin ()
 Begin reverse iterator. More...
 
ConstReverseIterator rend () const
 End reverse iterator. More...
 
ReverseIterator rend ()
 End reverse iterator. More...
 

Static Public Member Functions

static Index const & index (Key const &key)
 Index of a key. More...
 
static bool active (Key const &key)
 Is a key active? More...
 
static bool inactive (Key const &key)
 Is a key inactive? More...
 
static void activate (Key const &key)
 Activate a key if inactive. More...
 

Private Types

typedef vector1< TVector
 
typedef vector1< typename
Vector::Index
IndexMap
 
typedef IndexMap::Size IndexMapSize
 
typedef IndexMap::Index IndexMapIndex
 

Private Member Functions

Index const & add_key (Key const &key)
 Add an element with a key if not present and return its index: Activate key if inactive. More...
 

Static Private Member Functions

static IndexMapm ()
 Index map from keys into v_: Zero => inactive key. More...
 
static Indexu ()
 Upper active index of active keys. More...
 
static Indexactivated_index (Key const &key)
 Activate a key if inactive and return its index. More...
 
static void map_shrink ()
 Shrink the index map to remove unused capacity. More...
 

Private Attributes

Vector v_
 Vector of values indexed by a subset of the possible keys. More...
 

Friends

template<typename UK , typename UT , typename UC >
void swap (ClassKeyVector< UK, UT, UC > &a, ClassKeyVector< UK, UT, UC > &b)
 swap( ClassKeyVector, ClassKeyVector ) More...
 
bool operator== (ClassKeyVector const &a, ClassKeyVector const &b)
 ClassKeyVector == ClassKeyVector. More...
 
bool operator!= (ClassKeyVector const &a, ClassKeyVector const &b)
 ClassKeyVector != ClassKeyVector. More...
 
bool operator< (ClassKeyVector const &a, ClassKeyVector const &b)
 ClassKeyVector < ClassKeyVector. More...
 
bool operator> (ClassKeyVector const &a, ClassKeyVector const &b)
 ClassKeyVector > ClassKeyVector. More...
 
bool operator<= (ClassKeyVector const &a, ClassKeyVector const &b)
 ClassKeyVector <= ClassKeyVector. More...
 
bool operator>= (ClassKeyVector const &a, ClassKeyVector const &b)
 ClassKeyVector >= ClassKeyVector. More...
 

Detailed Description

template<typename K, typename T, typename C>
class utility::keys::ClassKeyVector< K, T, C >

Keyed-access vector with key subset map for each client class.

Member Typedef Documentation

template<typename K, typename T, typename C>
typedef Vector::Allocator utility::keys::ClassKeyVector< K, T, C >::Allocator
template<typename K, typename T, typename C>
typedef Vector::allocator_type utility::keys::ClassKeyVector< K, T, C >::allocator_type
template<typename K, typename T, typename C>
typedef C utility::keys::ClassKeyVector< K, T, C >::Client
template<typename K, typename T, typename C>
typedef C utility::keys::ClassKeyVector< K, T, C >::client_type
template<typename K, typename T, typename C>
typedef Vector::const_iterator utility::keys::ClassKeyVector< K, T, C >::const_iterator
template<typename K, typename T, typename C>
typedef Vector::const_pointer utility::keys::ClassKeyVector< K, T, C >::const_pointer
template<typename K, typename T, typename C>
typedef Vector::const_reference utility::keys::ClassKeyVector< K, T, C >::const_reference
template<typename K, typename T, typename C>
typedef Vector::const_reverse_iterator utility::keys::ClassKeyVector< K, T, C >::const_reverse_iterator
template<typename K, typename T, typename C>
typedef Vector::ConstIterator utility::keys::ClassKeyVector< K, T, C >::ConstIterator
template<typename K, typename T, typename C>
typedef Vector::ConstPointer utility::keys::ClassKeyVector< K, T, C >::ConstPointer
template<typename K, typename T, typename C>
typedef Vector::ConstReference utility::keys::ClassKeyVector< K, T, C >::ConstReference
template<typename K, typename T, typename C>
typedef Vector::ConstReverseIterator utility::keys::ClassKeyVector< K, T, C >::ConstReverseIterator
template<typename K, typename T, typename C>
typedef Vector::Difference utility::keys::ClassKeyVector< K, T, C >::Difference
template<typename K, typename T, typename C>
typedef Vector::difference_type utility::keys::ClassKeyVector< K, T, C >::difference_type
template<typename K, typename T, typename C>
typedef Vector::Index utility::keys::ClassKeyVector< K, T, C >::Index
template<typename K, typename T, typename C>
typedef Vector::index_type utility::keys::ClassKeyVector< K, T, C >::index_type
template<typename K, typename T, typename C>
typedef vector1< typename Vector::Index > utility::keys::ClassKeyVector< K, T, C >::IndexMap
private
template<typename K, typename T, typename C>
typedef IndexMap::Index utility::keys::ClassKeyVector< K, T, C >::IndexMapIndex
private
template<typename K, typename T, typename C>
typedef IndexMap::Size utility::keys::ClassKeyVector< K, T, C >::IndexMapSize
private
template<typename K, typename T, typename C>
typedef Vector::iterator utility::keys::ClassKeyVector< K, T, C >::iterator
template<typename K, typename T, typename C>
typedef Vector::Iterator utility::keys::ClassKeyVector< K, T, C >::Iterator
template<typename K, typename T, typename C>
typedef K utility::keys::ClassKeyVector< K, T, C >::Key
template<typename K, typename T, typename C>
typedef K utility::keys::ClassKeyVector< K, T, C >::key_type
template<typename K, typename T, typename C>
typedef Vector::pointer utility::keys::ClassKeyVector< K, T, C >::pointer
template<typename K, typename T, typename C>
typedef Vector::Pointer utility::keys::ClassKeyVector< K, T, C >::Pointer
template<typename K, typename T, typename C>
typedef Vector::reference utility::keys::ClassKeyVector< K, T, C >::reference
template<typename K, typename T, typename C>
typedef Vector::Reference utility::keys::ClassKeyVector< K, T, C >::Reference
template<typename K, typename T, typename C>
typedef Vector::reverse_iterator utility::keys::ClassKeyVector< K, T, C >::reverse_iterator
template<typename K, typename T, typename C>
typedef Vector::ReverseIterator utility::keys::ClassKeyVector< K, T, C >::ReverseIterator
template<typename K, typename T, typename C>
typedef Vector::Size utility::keys::ClassKeyVector< K, T, C >::Size
template<typename K, typename T, typename C>
typedef Vector::size_type utility::keys::ClassKeyVector< K, T, C >::size_type
template<typename K, typename T, typename C>
typedef Vector::Value utility::keys::ClassKeyVector< K, T, C >::Value
template<typename K, typename T, typename C>
typedef Vector::value_type utility::keys::ClassKeyVector< K, T, C >::value_type
template<typename K, typename T, typename C>
typedef vector1< T > utility::keys::ClassKeyVector< K, T, C >::Vector
private

Constructor & Destructor Documentation

template<typename K, typename T, typename C>
utility::keys::ClassKeyVector< K, T, C >::ClassKeyVector ( )
inlinedefault

Default constructor.

template<typename K, typename T, typename C>
utility::keys::ClassKeyVector< K, T, C >::ClassKeyVector ( ClassKeyVector< K, T, C > const &  a)
inline

Copy constructor.

template<typename K, typename T, typename C>
utility::keys::ClassKeyVector< K, T, C >::ClassKeyVector ( Size const  num)
inlineexplicit

Size constructor.

template<typename K, typename T, typename C>
utility::keys::ClassKeyVector< K, T, C >::ClassKeyVector ( Size const  num,
Value const &  value 
)
inline

Uniform value constructor.

template<typename K, typename T, typename C>
template<typename InputIterator >
utility::keys::ClassKeyVector< K, T, C >::ClassKeyVector ( InputIterator const  beg,
InputIterator const  end 
)
inline

Iterator range constructor.

template<typename K, typename T, typename C>
utility::keys::ClassKeyVector< K, T, C >::~ClassKeyVector ( )
inline

Destructor.

Member Function Documentation

template<typename K, typename T, typename C>
static void utility::keys::ClassKeyVector< K, T, C >::activate ( Key const &  key)
inlinestatic
template<typename K, typename T, typename C>
static Index& utility::keys::ClassKeyVector< K, T, C >::activated_index ( Key const &  key)
inlinestaticprivate
template<typename K, typename T, typename C>
static bool utility::keys::ClassKeyVector< K, T, C >::active ( Key const &  key)
inlinestatic
template<typename K, typename T, typename C>
ClassKeyVector& utility::keys::ClassKeyVector< K, T, C >::add ( Key const &  key)
inline

Add an element with a key if not present: Activate key if inactive.

References utility::keys::ClassKeyVector< K, T, C >::add_key().

template<typename K, typename T, typename C>
Index const& utility::keys::ClassKeyVector< K, T, C >::add_key ( Key const &  key)
inlineprivate
template<typename K, typename T, typename C>
ClassKeyVector& utility::keys::ClassKeyVector< K, T, C >::assign ( Key const &  key,
Value const &  value 
)
inline

Assign a value to an element with a key.

Note
Adds the key to the map if not present
Expands the vector if necessary

References utility::keys::ClassKeyVector< K, T, C >::add_key(), utility::keys::ClassKeyVector< K, T, C >::v_, and value.

template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::assign ( Size const  num,
Value const &  value 
)
inline

Uniform value assignment.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
template<typename InputIterator >
void utility::keys::ClassKeyVector< K, T, C >::assign ( InputIterator const  beg,
InputIterator const  end 
)
inline

Iterator assignment.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
ConstReference utility::keys::ClassKeyVector< K, T, C >::at ( Key const &  key) const
inline
template<typename K, typename T, typename C>
Reference utility::keys::ClassKeyVector< K, T, C >::at ( Key const &  key)
inline
template<typename K, typename T, typename C>
ConstReference utility::keys::ClassKeyVector< K, T, C >::back ( ) const
inline
template<typename K, typename T, typename C>
Reference utility::keys::ClassKeyVector< K, T, C >::back ( )
inline
template<typename K, typename T, typename C>
ConstIterator utility::keys::ClassKeyVector< K, T, C >::begin ( ) const
inline

Begin iterator.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
Iterator utility::keys::ClassKeyVector< K, T, C >::begin ( )
inline

Begin iterator.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
Size utility::keys::ClassKeyVector< K, T, C >::capacity ( ) const
inline
template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::clear ( )
inline

Clear the vector.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
bool utility::keys::ClassKeyVector< K, T, C >::empty ( ) const
inline
template<typename K, typename T, typename C>
ConstIterator utility::keys::ClassKeyVector< K, T, C >::end ( ) const
inline
template<typename K, typename T, typename C>
Iterator utility::keys::ClassKeyVector< K, T, C >::end ( )
inline
template<typename K, typename T, typename C>
Iterator utility::keys::ClassKeyVector< K, T, C >::erase ( Iterator const  pos)
inline

Erase an element at an iterator position.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
Iterator utility::keys::ClassKeyVector< K, T, C >::erase ( Iterator const  beg,
Iterator const  end 
)
inline

Erase elements in the iterator range [beg,end)

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
ConstIterator utility::keys::ClassKeyVector< K, T, C >::find ( Key const &  key) const
inline
template<typename K, typename T, typename C>
Iterator utility::keys::ClassKeyVector< K, T, C >::find ( Key const &  key)
inline
template<typename K, typename T, typename C>
ConstReference utility::keys::ClassKeyVector< K, T, C >::front ( ) const
inline
template<typename K, typename T, typename C>
Reference utility::keys::ClassKeyVector< K, T, C >::front ( )
inline
template<typename K, typename T, typename C>
bool utility::keys::ClassKeyVector< K, T, C >::has ( Key const &  key) const
inline
template<typename K, typename T, typename C>
static bool utility::keys::ClassKeyVector< K, T, C >::inactive ( Key const &  key)
inlinestatic
template<typename K, typename T, typename C>
static Index const& utility::keys::ClassKeyVector< K, T, C >::index ( Key const &  key)
inlinestatic
template<typename K, typename T, typename C>
Iterator utility::keys::ClassKeyVector< K, T, C >::insert ( Iterator const  pos,
Value const &  value 
)
inline

Insert an element at an iterator position.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::insert ( Iterator const  pos,
Size const  num,
Value const &  value 
)
inline

Insert num copies of an element at an iterator position.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
template<typename InputIterator >
void utility::keys::ClassKeyVector< K, T, C >::insert ( Iterator const  pos,
InputIterator const  beg,
InputIterator const  end 
)
inline

Insert elements from iterator range [beg,end) at an iterator position.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
static IndexMap& utility::keys::ClassKeyVector< K, T, C >::m ( )
inlinestaticprivate
template<typename K, typename T, typename C>
static void utility::keys::ClassKeyVector< K, T, C >::map_shrink ( )
inlinestaticprivate

Shrink the index map to remove unused capacity.

References utility::keys::ClassKeyVector< K, T, C >::m(), and utility::vectorL< SSize, T, A >::shrink().

template<typename K, typename T, typename C>
Size utility::keys::ClassKeyVector< K, T, C >::max_size ( ) const
inline
template<typename K, typename T, typename C>
Reference utility::keys::ClassKeyVector< K, T, C >::operator() ( Key const &  key)
inline

ClassKeyVector( key )

Note
Activates the key if inactive
Expands the vector if necessary

References utility::keys::ClassKeyVector< K, T, C >::add_key(), and utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
ClassKeyVector& utility::keys::ClassKeyVector< K, T, C >::operator= ( ClassKeyVector< K, T, C > const &  a)
inline

Copy assignment.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
ClassKeyVector& utility::keys::ClassKeyVector< K, T, C >::operator= ( Value const &  value)
inline

Uniform value assignment to current elements.

References test.T009_Exceptions::e, utility::keys::ClassKeyVector< K, T, C >::v_, and value.

template<typename K, typename T, typename C>
ConstReference utility::keys::ClassKeyVector< K, T, C >::operator[] ( Key const &  key) const
inline
template<typename K, typename T, typename C>
Reference utility::keys::ClassKeyVector< K, T, C >::operator[] ( Key const &  key)
inline
template<typename K, typename T, typename C>
ConstReference utility::keys::ClassKeyVector< K, T, C >::operator[] ( Index const &  i) const
inline
template<typename K, typename T, typename C>
Reference utility::keys::ClassKeyVector< K, T, C >::operator[] ( Index const &  i)
inline
template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::pop_back ( )
inline

Removes the last element.

References debug_assert, and utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::push_back ( Value const &  value)
inline

Appends an element.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
ConstReverseIterator utility::keys::ClassKeyVector< K, T, C >::rbegin ( ) const
inline

Begin reverse iterator.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
ReverseIterator utility::keys::ClassKeyVector< K, T, C >::rbegin ( )
inline

Begin reverse iterator.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
ConstReverseIterator utility::keys::ClassKeyVector< K, T, C >::rend ( ) const
inline

End reverse iterator.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
ReverseIterator utility::keys::ClassKeyVector< K, T, C >::rend ( )
inline

End reverse iterator.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::reserve ( Size const  num)
inline

Reserve space for a given number of elements.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::resize ( Size const  num)
inline

Resize: Default construct new elements.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::resize ( Size const  num,
Value const &  value 
)
inline

Resize: Assign given value to new elements.

References utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::shrink ( )
inline

Shrink the vector to remove unused capacity.

References utility::vectorL< SSize, T, A >::shrink(), and utility::keys::ClassKeyVector< K, T, C >::v_.

template<typename K, typename T, typename C>
Size utility::keys::ClassKeyVector< K, T, C >::size ( ) const
inline
template<typename K, typename T, typename C>
template<typename Compare >
void utility::keys::ClassKeyVector< K, T, C >::sort ( Compare  compare)
inline
template<typename K, typename T, typename C>
void utility::keys::ClassKeyVector< K, T, C >::swap ( ClassKeyVector< K, T, C > &  a)
inline
template<typename K, typename T, typename C>
static Index& utility::keys::ClassKeyVector< K, T, C >::u ( )
inlinestaticprivate

Upper active index of active keys.

Referenced by utility::keys::ClassKeyVector< K, T, C >::activate().

Friends And Related Function Documentation

template<typename K, typename T, typename C>
bool operator!= ( ClassKeyVector< K, T, C > const &  a,
ClassKeyVector< K, T, C > const &  b 
)
friend
template<typename K, typename T, typename C>
bool operator< ( ClassKeyVector< K, T, C > const &  a,
ClassKeyVector< K, T, C > const &  b 
)
friend
template<typename K, typename T, typename C>
bool operator<= ( ClassKeyVector< K, T, C > const &  a,
ClassKeyVector< K, T, C > const &  b 
)
friend
template<typename K, typename T, typename C>
bool operator== ( ClassKeyVector< K, T, C > const &  a,
ClassKeyVector< K, T, C > const &  b 
)
friend
template<typename K, typename T, typename C>
bool operator> ( ClassKeyVector< K, T, C > const &  a,
ClassKeyVector< K, T, C > const &  b 
)
friend
template<typename K, typename T, typename C>
bool operator>= ( ClassKeyVector< K, T, C > const &  a,
ClassKeyVector< K, T, C > const &  b 
)
friend
template<typename K, typename T, typename C>
template<typename UK , typename UT , typename UC >
void swap ( ClassKeyVector< UK, UT, UC > &  a,
ClassKeyVector< UK, UT, UC > &  b 
)
friend

swap( ClassKeyVector, ClassKeyVector )

Member Data Documentation

template<typename K, typename T, typename C>
Vector utility::keys::ClassKeyVector< K, T, C >::v_
private

Vector of values indexed by a subset of the possible keys.

Referenced by utility::keys::ClassKeyVector< K, T, C >::add_key(), utility::keys::ClassKeyVector< K, T, C >::assign(), utility::keys::ClassKeyVector< K, T, C >::at(), utility::keys::ClassKeyVector< K, T, C >::back(), utility::keys::ClassKeyVector< K, T, C >::begin(), utility::keys::ClassKeyVector< K, T, C >::capacity(), utility::keys::ClassKeyVector< K, T, C >::clear(), utility::keys::ClassKeyVector< K, T, C >::empty(), utility::keys::ClassKeyVector< K, T, C >::end(), utility::keys::ClassKeyVector< K, T, C >::erase(), utility::keys::ClassKeyVector< K, T, C >::find(), utility::keys::ClassKeyVector< K, T, C >::front(), utility::keys::ClassKeyVector< K, T, C >::has(), utility::keys::ClassKeyVector< K, T, C >::insert(), utility::keys::ClassKeyVector< K, T, C >::max_size(), utility::keys::ClassKeyVector< K, T, C >::operator()(), utility::keys::ClassKeyVector< K, T, C >::operator=(), utility::keys::ClassKeyVector< K, T, C >::operator[](), utility::keys::ClassKeyVector< K, T, C >::pop_back(), utility::keys::ClassKeyVector< K, T, C >::push_back(), utility::keys::ClassKeyVector< K, T, C >::rbegin(), utility::keys::ClassKeyVector< K, T, C >::rend(), utility::keys::ClassKeyVector< K, T, C >::reserve(), utility::keys::ClassKeyVector< K, T, C >::resize(), utility::keys::ClassKeyVector< K, T, C >::shrink(), utility::keys::ClassKeyVector< K, T, C >::size(), utility::keys::ClassKeyVector< K, T, C >::sort(), and utility::keys::ClassKeyVector< K, T, C >::swap().


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