Rogue Wave banner
Previous fileTop of documentContentsIndexNext file

RWTValSlistDictionary<K,V>

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include <rw/tvsldict.h> 
RWTValSlistDictionary<K,V> slistDict;

Description

This class maintains a value-based collection of values, implemented as an intrusive singly-linked list of key and value pairs. Class K and V are the types of the keys and values respectively.

Persistence

Isomorphic

Related Classes

This class is used in the implementation of RWTValHashDictionary.

Public Constructors

RWTValSlistDictionary<K,V>();
RWTValSlist<K,V>(const RWTValSlistDictionary<K,V>&);

Public Member Operators

RWTValSlistDictionary<K,V>&
operator=(const RWTValSlistDictionary<K,V>& lst); 
V&
operator[](K key); 

Public Member Functions

void
applyToKeyAndValue(void (*applyFun)(const K&, V& ,void* d), void*); 
clear();
RWBoolean
contains(const K& a) const; 
size_t
entries() const; 
RWBoolean
find(const K& a, K& retKey) const; 
RWBoolean
findKeyAndValue(const K& a, K& retKey, V& retval) const; 
RWBoolean
findValue(const K& a, K& retVal) const; 
void
insertKeyAndValue(const K& k, const V& v); 
RWBoolean
isEmpty() const; 
RWBoolean
remove(const K& k); 
RWBoolean
remove(const K& k V& retVal); 


Previous fileTop of documentContentsIndexNext file
©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.