waLBerla 7.3
Loading...
Searching...
No Matches
walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator > Class Template Reference

#include <BufferSystem.hpp>

Public Types

using Self = LinearBuffer< TValue, TAllocator >
using value_type = TValue
using allocator_type = TAllocator

Public Member Functions

 LinearBuffer (size_t linearAllocSize, size_t linearAllocOffset, const allocator_type &allocator)
 ~LinearBuffer ()
 LinearBuffer (const LinearBuffer &)=delete
LinearBufferoperator= (const LinearBuffer &)=delete
Self cloneUninitialized () const
size_t linearAllocSize () const
value_typedata ()
const value_typedata () const
value_typeallocData ()
const value_typeallocData () const
stdlib::span< value_typelinearView ()
stdlib::span< const value_typelinearView () const
stdlib::span< value_typelinearAllocView ()
stdlib::span< const value_typelinearAllocView () const
bool operator== (const Self &other) const
void swap (Self &other)

Private Attributes

allocator_type alloc_
size_t linearAllocSize_
value_typeallocData_
value_typedata_

Member Typedef Documentation

◆ allocator_type

template<std::semiregular TValue, typename TAllocator>
using walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::allocator_type = TAllocator

◆ Self

template<std::semiregular TValue, typename TAllocator>
using walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::Self = LinearBuffer< TValue, TAllocator >

◆ value_type

template<std::semiregular TValue, typename TAllocator>
using walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::value_type = TValue

Constructor & Destructor Documentation

◆ LinearBuffer() [1/2]

template<std::semiregular TValue, typename TAllocator>
walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::LinearBuffer ( size_t linearAllocSize,
size_t linearAllocOffset,
const allocator_type & allocator )
inline

◆ ~LinearBuffer()

template<std::semiregular TValue, typename TAllocator>
walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::~LinearBuffer ( )
inline

◆ LinearBuffer() [2/2]

template<std::semiregular TValue, typename TAllocator>
walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::LinearBuffer ( const LinearBuffer< TValue, TAllocator > & )
delete

Member Function Documentation

◆ allocData() [1/2]

template<std::semiregular TValue, typename TAllocator>
value_type * walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::allocData ( )
inlinenodiscard

◆ allocData() [2/2]

template<std::semiregular TValue, typename TAllocator>
const value_type * walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::allocData ( ) const
inlinenodiscard

◆ cloneUninitialized()

template<std::semiregular TValue, typename TAllocator>
Self walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::cloneUninitialized ( ) const
inline

◆ data() [1/2]

template<std::semiregular TValue, typename TAllocator>
value_type * walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::data ( )
inlinenodiscard

◆ data() [2/2]

template<std::semiregular TValue, typename TAllocator>
const value_type * walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::data ( ) const
inlinenodiscard

◆ linearAllocSize()

template<std::semiregular TValue, typename TAllocator>
size_t walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::linearAllocSize ( ) const
inlinenodiscard

◆ linearAllocView() [1/2]

template<std::semiregular TValue, typename TAllocator>
stdlib::span< value_type > walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::linearAllocView ( )
inlinenodiscard

◆ linearAllocView() [2/2]

template<std::semiregular TValue, typename TAllocator>
stdlib::span< const value_type > walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::linearAllocView ( ) const
inlinenodiscard

◆ linearView() [1/2]

template<std::semiregular TValue, typename TAllocator>
stdlib::span< value_type > walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::linearView ( )
inlinenodiscard

◆ linearView() [2/2]

template<std::semiregular TValue, typename TAllocator>
stdlib::span< const value_type > walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::linearView ( ) const
inlinenodiscard

◆ operator=()

template<std::semiregular TValue, typename TAllocator>
LinearBuffer & walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::operator= ( const LinearBuffer< TValue, TAllocator > & )
delete

◆ operator==()

template<std::semiregular TValue, typename TAllocator>
bool walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::operator== ( const Self & other) const
inline

◆ swap()

template<std::semiregular TValue, typename TAllocator>
void walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::swap ( Self & other)
inline

Member Data Documentation

◆ alloc_

template<std::semiregular TValue, typename TAllocator>
allocator_type walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::alloc_
private

◆ allocData_

template<std::semiregular TValue, typename TAllocator>
value_type* walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::allocData_
private

◆ data_

template<std::semiregular TValue, typename TAllocator>
value_type* walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::data_
private

◆ linearAllocSize_

template<std::semiregular TValue, typename TAllocator>
size_t walberla::v8::memory::buffer_system::LinearBuffer< TValue, TAllocator >::linearAllocSize_
private

The documentation for this class was generated from the following file:
  • /builds/administration/walberla-website/walberla/include/walberla/v8/memory/BufferSystem.hpp