Initializing help system before first use

TreeMap3

A 3-dimensional tree map. More...

#include <xpress_maps.hpp>

Inheritance diagram for xpress::maps::TreeMap3< K1, K2, K3, V >:

Public Member Functions

bool  contains (K1 const &key1, K2 const &key2, K3 const &key3) const
  Test whether (key1,key2,key3) exists.
 
bool  containsKey (K1 const &key1, K2 const &key2, K3 const &key3) const
  Test whether (key1,key2,key3) exists.
 
get (K1 const &key1, K2 const &key2, K3 const &key3) const
  Get the value for tuple (key1,key2,key3).
 
operator() (K1 const &key1, K2 const &key2, K3 const &key3) const
  Get the value for tuple (key1,key2,key3).
 
put (K1 const &key1, K2 const &key2, K3 const &key3, V value)
  Map (key1,key2,key3) to value.
 

Detailed Description

template<typename K1, typename K2, typename K3, typename V>
class xpress::maps::TreeMap3< K1, K2, K3, V >

A 3-dimensional tree map.

Instances of this class map tuples with 3 elements to value and provide some convenience functions to access elements without having to explicitly construct the tuples. The mapping is implemented by an ordered data structure that orders elements by pairwise comparison

Since
44.00

Member Function Documentation

contains()

template<typename K1 , typename K2 , typename K3 , typename V >
bool xpress::maps::TreeMap3< K1, K2, K3, V >::contains ( K1 const & key1,
K2 const & key2,
K3 const & key3 ) const
inline

Test whether (key1,key2,key3) exists.

Since
44.00

containsKey()

template<typename K1 , typename K2 , typename K3 , typename V >
bool xpress::maps::TreeMap3< K1, K2, K3, V >::containsKey ( K1 const & key1,
K2 const & key2,
K3 const & key3 ) const
inline

Test whether (key1,key2,key3) exists.

Since
44.00

get()

template<typename K1 , typename K2 , typename K3 , typename V >
V xpress::maps::TreeMap3< K1, K2, K3, V >::get ( K1 const & key1,
K2 const & key2,
K3 const & key3 ) const
inline

Get the value for tuple (key1,key2,key3).

Returns
null the mapping does not exist.
Since
44.00

operator()()

template<typename K1 , typename K2 , typename K3 , typename V >
V xpress::maps::TreeMap3< K1, K2, K3, V >::operator() ( K1 const & key1,
K2 const & key2,
K3 const & key3 ) const
inline

Get the value for tuple (key1,key2,key3).

Returns
null the mapping does not exist.
Since
44.00

put()

template<typename K1 , typename K2 , typename K3 , typename V >
V xpress::maps::TreeMap3< K1, K2, K3, V >::put ( K1 const & key1,
K2 const & key2,
K3 const & key3,
V value )
inline

Map (key1,key2,key3) to value.

Returns
the previous value for the mapping.
Since
44.00

The documentation for this class was generated from the following file:
  • xpress_maps.hpp

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.