NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > > Class Template Reference

Search Toolkit Book for compile_time_bits::simple_backend_3_01std::tuple_3_01_SizeType_00_01_ArrayType_00_01_IndexType_01_4_01_4

#include <util/impl/compile_time_bits.hpp>

Public Types

using value_type = typename _ArrayType::value_type
 
using index_type = typename _IndexType::value_type
 
using tuple_type = std::tuple< _SizeType, _ArrayType, _IndexType >
 

Public Member Functions

constexpr simple_backend ()=default
 
constexpr simple_backend (const tuple_type &init)
 
constexpr auto realsize () const noexcept
 
constexpr auto indexsize () const noexcept
 
constexpr auto get_values () const noexcept
 
constexpr auto get_index () const noexcept
 

Static Public Attributes

static constexpr auto capacity = array_size<_ArrayType>::value
 

Private Attributes

_IndexType m_index {}
 
_ArrayType m_array {}
 
_SizeType m_realsize {0}
 

Detailed Description

template<typename _SizeType, typename _ArrayType, typename _IndexType>
class compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >

Definition at line 505 of file compile_time_bits.hpp.

Member Typedef Documentation

◆ index_type

template<typename _SizeType , typename _ArrayType , typename _IndexType >
using compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::index_type = typename _IndexType::value_type

Definition at line 509 of file compile_time_bits.hpp.

◆ tuple_type

template<typename _SizeType , typename _ArrayType , typename _IndexType >
using compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::tuple_type = std::tuple<_SizeType, _ArrayType, _IndexType>

Definition at line 510 of file compile_time_bits.hpp.

◆ value_type

template<typename _SizeType , typename _ArrayType , typename _IndexType >
using compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::value_type = typename _ArrayType::value_type

Definition at line 508 of file compile_time_bits.hpp.

Constructor & Destructor Documentation

◆ simple_backend() [1/2]

template<typename _SizeType , typename _ArrayType , typename _IndexType >
constexpr compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::simple_backend ( )
constexprdefault

◆ simple_backend() [2/2]

template<typename _SizeType , typename _ArrayType , typename _IndexType >
constexpr compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::simple_backend ( const tuple_type init)
inlineconstexpr

Definition at line 516 of file compile_time_bits.hpp.

Member Function Documentation

◆ get_index()

template<typename _SizeType , typename _ArrayType , typename _IndexType >
constexpr auto compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::get_index ( ) const
inlineconstexprnoexcept

Definition at line 525 of file compile_time_bits.hpp.

◆ get_values()

template<typename _SizeType , typename _ArrayType , typename _IndexType >
constexpr auto compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::get_values ( ) const
inlineconstexprnoexcept

Definition at line 524 of file compile_time_bits.hpp.

◆ indexsize()

template<typename _SizeType , typename _ArrayType , typename _IndexType >
constexpr auto compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::indexsize ( ) const
inlineconstexprnoexcept

Definition at line 523 of file compile_time_bits.hpp.

◆ realsize()

template<typename _SizeType , typename _ArrayType , typename _IndexType >
constexpr auto compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::realsize ( ) const
inlineconstexprnoexcept

Definition at line 522 of file compile_time_bits.hpp.

Member Data Documentation

◆ capacity

template<typename _SizeType , typename _ArrayType , typename _IndexType >
constexpr auto compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::capacity = array_size<_ArrayType>::value
staticconstexpr

Definition at line 512 of file compile_time_bits.hpp.

◆ m_array

template<typename _SizeType , typename _ArrayType , typename _IndexType >
_ArrayType compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::m_array {}
private

Definition at line 528 of file compile_time_bits.hpp.

◆ m_index

template<typename _SizeType , typename _ArrayType , typename _IndexType >
_IndexType compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::m_index {}
private

Definition at line 527 of file compile_time_bits.hpp.

◆ m_realsize

template<typename _SizeType , typename _ArrayType , typename _IndexType >
_SizeType compile_time_bits::simple_backend< std::tuple< _SizeType, _ArrayType, _IndexType > >::m_realsize {0}
private

Definition at line 529 of file compile_time_bits.hpp.


The documentation for this class was generated from the following file:
Modified on Mon Jun 17 05:08:42 2024 by modify_doxy.py rev. 669887