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

#include <gtest.h>

Public Types

typedef Element value_type
 
typedef Element * iterator
 
typedef const Element * const_iterator
 

Public Member Functions

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

Private Member Functions

void Init (const Element *array, size_t a_size, RelationToSource relation)
 
 GTEST_DISALLOW_ASSIGN_ (NativeArray)
 

Private Attributes

const Element * array_
 
size_t size_
 
RelationToSource relation_to_source_
 

Detailed Description

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

Definition at line 7924 of file gtest.h.

Member Typedef Documentation

◆ const_iterator

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

Definition at line 7929 of file gtest.h.

◆ iterator

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

Definition at line 7928 of file gtest.h.

◆ value_type

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

Definition at line 7927 of file gtest.h.

Constructor & Destructor Documentation

◆ NativeArray() [1/2]

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

Definition at line 7932 of file gtest.h.

References Octave::count.

◆ NativeArray() [2/2]

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

◆ ~NativeArray()

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

Definition at line 7941 of file gtest.h.

References GTEST_REMOVE_REFERENCE_AND_CONST_, and testing::internal::kCopy.

Member Function Documentation

◆ begin()

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

Definition at line 7952 of file gtest.h.

Referenced by testing::internal::NativeArray< Element >::operator==().

◆ end()

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

Definition at line 7953 of file gtest.h.

◆ GTEST_DISALLOW_ASSIGN_()

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

◆ Init()

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

Definition at line 7962 of file gtest.h.

References testing::internal::CopyArray(), and testing::internal::kReference.

◆ operator==()

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

◆ size()

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

Definition at line 7951 of file gtest.h.

Referenced by testing::internal::NativeArray< Element >::operator==().

Member Data Documentation

◆ array_

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

Definition at line 7974 of file gtest.h.

Referenced by testing::internal::NativeArray< Element >::NativeArray().

◆ relation_to_source_

template<typename Element >
RelationToSource testing::internal::NativeArray< Element >::relation_to_source_
private

Definition at line 7976 of file gtest.h.

Referenced by testing::internal::NativeArray< Element >::NativeArray().

◆ size_

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

Definition at line 7975 of file gtest.h.

Referenced by testing::internal::NativeArray< Element >::NativeArray().


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