NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
compile_time_bits::portable_backend< _IndexType, _ValueType > Class Template Reference

Search Toolkit Book for compile_time_bits::portable_backend

#include <util/impl/compile_time_bits.hpp>

+ Collaboration diagram for compile_time_bits::portable_backend< _IndexType, _ValueType >:

Public Types

using index_type = _IndexType
 
using value_type = _ValueType
 

Public Member Functions

constexpr portable_backend ()=default
 
template<typename _ArrayType >
constexpr portable_backend (const simple_backend< _ArrayType > &_Other)
 
constexpr auto get_values () const noexcept
 
constexpr auto get_index () const noexcept
 
constexpr size_t realsize () const noexcept
 

Private Attributes

const_vector< value_typem_values
 
const_vector< index_typem_index
 

Detailed Description

template<typename _IndexType, typename _ValueType>
class compile_time_bits::portable_backend< _IndexType, _ValueType >

Definition at line 447 of file compile_time_bits.hpp.

Member Typedef Documentation

◆ index_type

template<typename _IndexType , typename _ValueType >
using compile_time_bits::portable_backend< _IndexType, _ValueType >::index_type = _IndexType

Definition at line 452 of file compile_time_bits.hpp.

◆ value_type

template<typename _IndexType , typename _ValueType >
using compile_time_bits::portable_backend< _IndexType, _ValueType >::value_type = _ValueType

Definition at line 453 of file compile_time_bits.hpp.

Constructor & Destructor Documentation

◆ portable_backend() [1/2]

template<typename _IndexType , typename _ValueType >
constexpr compile_time_bits::portable_backend< _IndexType, _ValueType >::portable_backend ( )
constexprdefault

◆ portable_backend() [2/2]

template<typename _IndexType , typename _ValueType >
template<typename _ArrayType >
constexpr compile_time_bits::portable_backend< _IndexType, _ValueType >::portable_backend ( const simple_backend< _ArrayType > &  _Other)
inlineconstexpr

Definition at line 456 of file compile_time_bits.hpp.

Member Function Documentation

◆ get_index()

template<typename _IndexType , typename _ValueType >
constexpr auto compile_time_bits::portable_backend< _IndexType, _ValueType >::get_index ( ) const
inlineconstexprnoexcept

◆ get_values()

template<typename _IndexType , typename _ValueType >
constexpr auto compile_time_bits::portable_backend< _IndexType, _ValueType >::get_values ( ) const
inlineconstexprnoexcept

◆ realsize()

template<typename _IndexType , typename _ValueType >
constexpr size_t compile_time_bits::portable_backend< _IndexType, _ValueType >::realsize ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ m_index

template<typename _IndexType , typename _ValueType >
const_vector<index_type> compile_time_bits::portable_backend< _IndexType, _ValueType >::m_index
private

◆ m_values

template<typename _IndexType , typename _ValueType >
const_vector<value_type> compile_time_bits::portable_backend< _IndexType, _ValueType >::m_values
private

The documentation for this class was generated from the following file:
Modified on Wed Sep 04 15:06:09 2024 by modify_doxy.py rev. 669887