Public Types | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
testing::internal::NativeArray< Element > Class Template Reference

#include <gtest-internal.h>

Public Types

typedef Element * iterator
 
typedef Element value_type
 

Public Member Functions

const_iterator begin () const
 
const_iterator end () const
 
 NativeArray (const Element *array, size_t count, RelationToSourceCopy)
 
 NativeArray (const Element *array, size_t count, RelationToSourceReference)
 
 NativeArray (const NativeArray &rhs)
 
bool operator== (const NativeArray &rhs) const
 
size_t size () const
 
 ~NativeArray ()
 

Public Attributes

const typedef Element * const_iterator
 

Private Types

enum  { kCheckTypeIsNotConstOrAReference }
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (NativeArray)
 
void InitCopy (const Element *array, size_t a_size)
 
void InitRef (const Element *array, size_t a_size)
 

Private Attributes

const Element * array_
 
void(NativeArray::* clone_ )(const Element *, size_t)
 
size_t size_
 

Detailed Description

template<typename Element>
class testing::internal::NativeArray< Element >

Definition at line 1114 of file gtest-internal.h.

Member Typedef Documentation

◆ iterator

template<typename Element >
typedef Element* testing::internal::NativeArray< Element >::iterator

Definition at line 1118 of file gtest-internal.h.

◆ value_type

template<typename Element >
typedef Element testing::internal::NativeArray< Element >::value_type

Definition at line 1117 of file gtest-internal.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Element >
anonymous enum
private
Enumerator
kCheckTypeIsNotConstOrAReference 

Definition at line 1151 of file gtest-internal.h.

Constructor & Destructor Documentation

◆ NativeArray() [1/3]

template<typename Element >
testing::internal::NativeArray< Element >::NativeArray ( const Element *  array,
size_t  count,
RelationToSourceReference   
)
inline

Definition at line 1122 of file gtest-internal.h.

◆ NativeArray() [2/3]

template<typename Element >
testing::internal::NativeArray< Element >::NativeArray ( const Element *  array,
size_t  count,
RelationToSourceCopy   
)
inline

Definition at line 1127 of file gtest-internal.h.

◆ NativeArray() [3/3]

template<typename Element >
testing::internal::NativeArray< Element >::NativeArray ( const NativeArray< Element > &  rhs)
inline

Definition at line 1132 of file gtest-internal.h.

◆ ~NativeArray()

template<typename Element >
testing::internal::NativeArray< Element >::~NativeArray ( )
inline

Definition at line 1136 of file gtest-internal.h.

Member Function Documentation

◆ begin()

template<typename Element >
const_iterator testing::internal::NativeArray< Element >::begin ( ) const
inline

Definition at line 1143 of file gtest-internal.h.

◆ end()

template<typename Element >
const_iterator testing::internal::NativeArray< Element >::end ( ) const
inline

Definition at line 1144 of file gtest-internal.h.

◆ GTEST_DISALLOW_ASSIGN_()

template<typename Element >
testing::internal::NativeArray< Element >::GTEST_DISALLOW_ASSIGN_ ( NativeArray< Element >  )
private

◆ InitCopy()

template<typename Element >
void testing::internal::NativeArray< Element >::InitCopy ( const Element *  array,
size_t  a_size 
)
inlineprivate

Definition at line 1157 of file gtest-internal.h.

◆ InitRef()

template<typename Element >
void testing::internal::NativeArray< Element >::InitRef ( const Element *  array,
size_t  a_size 
)
inlineprivate

Definition at line 1166 of file gtest-internal.h.

◆ operator==()

template<typename Element >
bool testing::internal::NativeArray< Element >::operator== ( const NativeArray< Element > &  rhs) const
inline

Definition at line 1145 of file gtest-internal.h.

◆ size()

template<typename Element >
size_t testing::internal::NativeArray< Element >::size ( ) const
inline

Definition at line 1142 of file gtest-internal.h.

Member Data Documentation

◆ array_

template<typename Element >
const Element* testing::internal::NativeArray< Element >::array_
private

Definition at line 1172 of file gtest-internal.h.

◆ clone_

template<typename Element >
void(NativeArray::* testing::internal::NativeArray< Element >::clone_) (const Element *, size_t)
private

Definition at line 1174 of file gtest-internal.h.

◆ const_iterator

template<typename Element >
const typedef Element* testing::internal::NativeArray< Element >::const_iterator

Definition at line 1119 of file gtest-internal.h.

◆ size_

template<typename Element >
size_t testing::internal::NativeArray< Element >::size_
private

Definition at line 1173 of file gtest-internal.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11