NCBI C++ ToolKit
Public Types | Static Public Member Functions | List of all members
PKeyValuePair< Value > Class Template Reference

Search Toolkit Book for PKeyValuePair

#include <util/static_set.hpp>

Public Types

typedef Value value_type
 
typedef value_type::first_type key_type
 
typedef value_type::second_type mapped_type
 

Static Public Member Functions

static const key_typeget_key (const key_type &key)
 
static const key_typeget_key (const value_type &value)
 
static const mapped_typeget_mapped (const value_type &value)
 
static mapped_typeget_mapped (value_type &value)
 

Detailed Description

template<class Value>
class PKeyValuePair< Value >

Definition at line 140 of file static_set.hpp.

Member Typedef Documentation

◆ key_type

template<class Value >
typedef value_type::first_type PKeyValuePair< Value >::key_type

Definition at line 144 of file static_set.hpp.

◆ mapped_type

template<class Value >
typedef value_type::second_type PKeyValuePair< Value >::mapped_type

Definition at line 145 of file static_set.hpp.

◆ value_type

template<class Value >
typedef Value PKeyValuePair< Value >::value_type

Definition at line 143 of file static_set.hpp.

Member Function Documentation

◆ get_key() [1/2]

template<class Value >
static const key_type& PKeyValuePair< Value >::get_key ( const key_type key)
inlinestatic

Definition at line 147 of file static_set.hpp.

References ncbi::grid::netcache::search::fields::key.

◆ get_key() [2/2]

template<class Value >
static const key_type& PKeyValuePair< Value >::get_key ( const value_type value)
inlinestatic

Definition at line 151 of file static_set.hpp.

References value.

◆ get_mapped() [1/2]

template<class Value >
static const mapped_type& PKeyValuePair< Value >::get_mapped ( const value_type value)
inlinestatic

Definition at line 155 of file static_set.hpp.

References value.

◆ get_mapped() [2/2]

template<class Value >
static mapped_type& PKeyValuePair< Value >::get_mapped ( value_type value)
inlinestatic

Definition at line 159 of file static_set.hpp.

References value.


The documentation for this class was generated from the following file:
Modified on Sat Dec 02 09:19:36 2023 by modify_doxy.py rev. 669887