44 #ifndef TPETRA_DETAILS_FIXEDHASHTABLE_DECL_HPP 45 #define TPETRA_DETAILS_FIXEDHASHTABLE_DECL_HPP 47 #include <Teuchos_Describable.hpp> 48 #include <Tpetra_ConfigDefs.hpp> 49 #include <Teuchos_ArrayRCP.hpp> 78 template<
typename KeyType,
typename ValueType>
96 const ValueType startingValue);
110 ValueType
get (
const KeyType key)
const;
139 const size_type* rawPtr_;
143 const std::pair<KeyType, ValueType>* rawVal_;
151 const ValueType startingValue);
163 int hashFunc (
const KeyType key)
const;
165 int getRecommendedSize (
const int size);
172 #endif // TPETRA_DETAILS_FIXEDHASHTABLE_DECL_HPP Namespace Tpetra contains the class and methods constituting the Tpetra library.
std::string description() const
Implementation of Teuchos::Describable.
Implementation details of Tpetra.
FixedHashTable(const ArrayView< const KeyType > &keys)
Constructor for arbitrary keys and contiguous values starting with zero.
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const
Print this object with the given verbosity to the output stream.
static const EVerbosityLevel verbLevel_default