tesseract v5.3.3.20231005
testing::internal::StlContainerView< ::std::tuple< ElementPointer, Size > > Class Template Reference

#include <gmock-internal-utils.h>

Public Types

typedef std::remove_const< typenamestd::pointer_traits< ElementPointer >::element_type >::type RawElement
 
typedef internal::NativeArray< RawElementtype
 
typedef const type const_reference
 

Static Public Member Functions

static const_reference ConstReference (const ::std::tuple< ElementPointer, Size > &array)
 
static type Copy (const ::std::tuple< ElementPointer, Size > &array)
 

Detailed Description

template<typename ElementPointer, typename Size>
class testing::internal::StlContainerView< ::std::tuple< ElementPointer, Size > >

Definition at line 364 of file gmock-internal-utils.h.

Member Typedef Documentation

◆ const_reference

template<typename ElementPointer , typename Size >
typedef const type testing::internal::StlContainerView< ::std::tuple< ElementPointer, Size > >::const_reference

Definition at line 370 of file gmock-internal-utils.h.

◆ RawElement

template<typename ElementPointer , typename Size >
typedef std::remove_const<typenamestd::pointer_traits<ElementPointer>::element_type>::type testing::internal::StlContainerView< ::std::tuple< ElementPointer, Size > >::RawElement

Definition at line 368 of file gmock-internal-utils.h.

◆ type

template<typename ElementPointer , typename Size >
typedef internal::NativeArray<RawElement> testing::internal::StlContainerView< ::std::tuple< ElementPointer, Size > >::type

Definition at line 369 of file gmock-internal-utils.h.

Member Function Documentation

◆ ConstReference()

template<typename ElementPointer , typename Size >
static const_reference testing::internal::StlContainerView< ::std::tuple< ElementPointer, Size > >::ConstReference ( const ::std::tuple< ElementPointer, Size > &  array)
inlinestatic

Definition at line 372 of file gmock-internal-utils.h.

373 {
374 return type(std::get<0>(array), std::get<1>(array),
375 RelationToSourceReference());
376 }

◆ Copy()

template<typename ElementPointer , typename Size >
static type testing::internal::StlContainerView< ::std::tuple< ElementPointer, Size > >::Copy ( const ::std::tuple< ElementPointer, Size > &  array)
inlinestatic

Definition at line 377 of file gmock-internal-utils.h.

377 {
378 return type(std::get<0>(array), std::get<1>(array), RelationToSourceCopy());
379 }

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