Project
Loading...
Searching...
No Matches
o2::rans::internal::SparseVectorContainer< source_T, value_T > Class Template Reference

#include <Container.h>

Inherits o2::rans::internal::Container< SparseVector< source_T, value_T >, SparseVectorContainer< source_T, value_T > >.

Public Types

using source_type = typename base_type::source_type
 
using value_type = typename base_type::value_type
 
using container_type = typename base_type::container_type
 
using size_type = typename base_type::size_type
 
using difference_type = typename base_type::difference_type
 
using reference = typename base_type::reference
 
using const_reference = typename base_type::const_reference
 
using pointer = typename base_type::pointer
 
using const_pointer = typename base_type::const_pointer
 
using const_iterator = typename base_type::const_iterator
 
- Public Types inherited from o2::rans::internal::Container< SparseVector< source_T, value_T >, SparseVectorContainer< source_T, value_T > >
using source_type = typename container_T::source_type
 
using value_type = typename container_T::value_type
 
using container_type = SparseVector< source_T, value_T >
 
using size_type = typename container_type::size_type
 
using difference_type = typename container_type::difference_type
 
using reference = typename std::add_lvalue_reference_t< value_type >
 
using const_reference = typename std::add_lvalue_reference_t< std::add_const_t< value_type > >
 
using pointer = typename std::add_pointer_t< value_type >
 
using const_pointer = typename std::add_pointer_t< std::add_const_t< value_type > >
 
using const_iterator = typename container_type::const_iterator
 

Public Member Functions

const_reference operator[] (source_type sourceSymbol) const
 
const_reference at (source_type sourceSymbol) const
 
source_type getOffset () const noexcept
 
- Public Member Functions inherited from o2::rans::internal::Container< SparseVector< source_T, value_T >, SparseVectorContainer< source_T, value_T > >
const_reference operator[] (source_type sourceSymbol) const
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
const_iterator begin () const noexcept
 
const_iterator end () const noexcept
 
size_type size () const noexcept
 
bool empty () const noexcept
 
size_type getNumSamples () const noexcept
 
source_type getOffset () const noexcept
 
container_type release () &&noexcept
 

Protected Member Functions

 SparseVectorContainer ()=default
 
- Protected Member Functions inherited from o2::rans::internal::Container< SparseVector< source_T, value_T >, SparseVectorContainer< source_T, value_T > >
countSamples (T frequency)
 
 Container ()=default
 
 Container (size_type size, source_type offset)
 

Additional Inherited Members

- Protected Attributes inherited from o2::rans::internal::Container< SparseVector< source_T, value_T >, SparseVectorContainer< source_T, value_T > >
container_type mContainer
 
size_type mNSamples
 

Detailed Description

template<typename source_T, typename value_T>
class o2::rans::internal::SparseVectorContainer< source_T, value_T >

Definition at line 112 of file Container.h.

Member Typedef Documentation

◆ const_iterator

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::const_iterator = typename base_type::const_iterator

Definition at line 127 of file Container.h.

◆ const_pointer

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::const_pointer = typename base_type::const_pointer

Definition at line 126 of file Container.h.

◆ const_reference

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::const_reference = typename base_type::const_reference

Definition at line 124 of file Container.h.

◆ container_type

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::container_type = typename base_type::container_type

Definition at line 120 of file Container.h.

◆ difference_type

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::difference_type = typename base_type::difference_type

Definition at line 122 of file Container.h.

◆ pointer

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::pointer = typename base_type::pointer

Definition at line 125 of file Container.h.

◆ reference

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::reference = typename base_type::reference

Definition at line 123 of file Container.h.

◆ size_type

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::size_type = typename base_type::size_type

Definition at line 121 of file Container.h.

◆ source_type

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::source_type = typename base_type::source_type

Definition at line 118 of file Container.h.

◆ value_type

template<typename source_T , typename value_T >
using o2::rans::internal::SparseVectorContainer< source_T, value_T >::value_type = typename base_type::value_type

Definition at line 119 of file Container.h.

Constructor & Destructor Documentation

◆ SparseVectorContainer()

template<typename source_T , typename value_T >
o2::rans::internal::SparseVectorContainer< source_T, value_T >::SparseVectorContainer ( )
protecteddefault

Member Function Documentation

◆ at()

template<typename source_T , typename value_T >
const_reference o2::rans::internal::SparseVectorContainer< source_T, value_T >::at ( source_type  sourceSymbol) const
inline

Definition at line 131 of file Container.h.

◆ getOffset()

template<typename source_T , typename value_T >
source_type o2::rans::internal::SparseVectorContainer< source_T, value_T >::getOffset ( ) const
inlinenoexcept

Definition at line 133 of file Container.h.

◆ operator[]()

template<typename source_T , typename value_T >
const_reference o2::rans::internal::SparseVectorContainer< source_T, value_T >::operator[] ( source_type  sourceSymbol) const
inline

Definition at line 129 of file Container.h.


The documentation for this class was generated from the following files: