walberla::mpi::GenericSendBuffer< T, G >::Ptr< VT > Class Template Reference

#include <SendBuffer.h>

Public Types

using value_type = VT
 

Public Member Functions

 Ptr (GenericSendBuffer< T, G > &buffer, const std::ptrdiff_t offset, const size_t length)
 
VT & operator* ()
 
VT * operator-> ()
 
VT & operator[] (const size_t &rhs)
 

Private Attributes

GenericSendBuffer< T, G > & buffer_
 
const std::ptrdiff_t offset_
 
const size_t length_
 

Member Typedef Documentation

◆ value_type

template<typename T = unsigned char, typename G = OptimalGrowth>
template<typename VT >
using walberla::mpi::GenericSendBuffer< T, G >::Ptr< VT >::value_type = VT

Constructor & Destructor Documentation

◆ Ptr()

template<typename T = unsigned char, typename G = OptimalGrowth>
template<typename VT >
walberla::mpi::GenericSendBuffer< T, G >::Ptr< VT >::Ptr ( GenericSendBuffer< T, G > &  buffer,
const std::ptrdiff_t  offset,
const size_t  length 
)
inline

Member Function Documentation

◆ operator*()

template<typename T , typename G >
template<typename VT >
VT & walberla::mpi::GenericSendBuffer< T, G >::Ptr< VT >::operator*
inline

◆ operator->()

template<typename T , typename G >
template<typename VT >
VT * walberla::mpi::GenericSendBuffer< T, G >::Ptr< VT >::operator->
inline

◆ operator[]()

template<typename T , typename G >
template<typename VT >
VT & walberla::mpi::GenericSendBuffer< T, G >::Ptr< VT >::operator[] ( const size_t rhs)
inline

Member Data Documentation

◆ buffer_

template<typename T = unsigned char, typename G = OptimalGrowth>
template<typename VT >
GenericSendBuffer<T, G>& walberla::mpi::GenericSendBuffer< T, G >::Ptr< VT >::buffer_
private

◆ length_

template<typename T = unsigned char, typename G = OptimalGrowth>
template<typename VT >
const size_t walberla::mpi::GenericSendBuffer< T, G >::Ptr< VT >::length_
private

◆ offset_

template<typename T = unsigned char, typename G = OptimalGrowth>
template<typename VT >
const std::ptrdiff_t walberla::mpi::GenericSendBuffer< T, G >::Ptr< VT >::offset_
private

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