RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
rtctk::componentFramework::detail::UserTypeHandler< std::string_view > Struct Reference

Public Types

using BufferType = std::string_view
 
using ElementType = std::remove_cv_t<typename BufferType::value_type>
 
using DataPointType = RtcString
 
using TempBufferType = void
 

Static Public Member Functions

static RtcVectorUInt64 GetShape (const BufferType &buffer)
 
static gsl::span< ElementTypeMakeSpan (BufferType &buffer)=delete
 It is not possible to create mutable span from a read-only string view.
 
static gsl::span< const ElementTypeMakeSpan (const BufferType &buffer)
 
static bool ResizeBuffer (BufferType &buffer, const RtcVectorUInt64 &shape)
 

Static Public Attributes

static const bool USES_TEMP_BUFFER = false
 

Member Typedef Documentation

◆ BufferType

using rtctk::componentFramework::detail::UserTypeHandler< std::string_view >::BufferType = std::string_view

◆ DataPointType

◆ ElementType

using rtctk::componentFramework::detail::UserTypeHandler< std::string_view >::ElementType = std::remove_cv_t<typename BufferType::value_type>

◆ TempBufferType

using rtctk::componentFramework::detail::UserTypeHandler< std::string_view >::TempBufferType = void

Member Function Documentation

◆ GetShape()

static RtcVectorUInt64 rtctk::componentFramework::detail::UserTypeHandler< std::string_view >::GetShape ( const BufferType & buffer)
inlinestatic

◆ MakeSpan() [1/2]

static gsl::span< ElementType > rtctk::componentFramework::detail::UserTypeHandler< std::string_view >::MakeSpan ( BufferType & buffer)
staticdelete

It is not possible to create mutable span from a read-only string view.

◆ MakeSpan() [2/2]

static gsl::span< const ElementType > rtctk::componentFramework::detail::UserTypeHandler< std::string_view >::MakeSpan ( const BufferType & buffer)
inlinestatic

◆ ResizeBuffer()

static bool rtctk::componentFramework::detail::UserTypeHandler< std::string_view >::ResizeBuffer ( BufferType & buffer,
const RtcVectorUInt64 & shape )
inlinestatic

Member Data Documentation

◆ USES_TEMP_BUFFER

const bool rtctk::componentFramework::detail::UserTypeHandler< std::string_view >::USES_TEMP_BUFFER = false
static

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