Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::NativeArray< Element > Class Template Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googletest/include/gtest/internal/gtest-internal.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, RelationToSourceReference)
 
 NativeArray (const Element *array, size_t count, RelationToSourceCopy)
 
 NativeArray (const NativeArray &rhs)
 
 ~NativeArray ()
 
size_t size () const
 
const_iterator begin () const
 
const_iterator end () const
 
bool operator== (const NativeArray &rhs) const
 

Private Types

enum  { kCheckTypeIsNotConstOrAReference }
 

Private Member Functions

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

Private Attributes

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

Detailed Description

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

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

View newest version in sPHENIX GitHub at line 1034 of file gtest-internal.h

Member Typedef Documentation

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

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

View newest version in sPHENIX GitHub at line 1039 of file gtest-internal.h

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

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

View newest version in sPHENIX GitHub at line 1038 of file gtest-internal.h

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

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

View newest version in sPHENIX GitHub at line 1037 of file gtest-internal.h

Member Enumeration Documentation

template<typename Element>
anonymous enum
private
Enumerator:
kCheckTypeIsNotConstOrAReference 

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

View newest version in sPHENIX GitHub at line 1071 of file gtest-internal.h

Constructor & Destructor Documentation

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

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

View newest version in sPHENIX GitHub at line 1042 of file gtest-internal.h

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

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

View newest version in sPHENIX GitHub at line 1047 of file gtest-internal.h

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

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

View newest version in sPHENIX GitHub at line 1056 of file gtest-internal.h

References testing::internal::NativeArray< Element >::InitRef().

+ Here is the call graph for this function:

Member Function Documentation

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

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

View newest version in sPHENIX GitHub at line 1063 of file gtest-internal.h

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

+ Here is the caller graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1064 of file gtest-internal.h

Referenced by TEST().

+ Here is the caller graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1077 of file gtest-internal.h

References testing::internal::CopyArray().

+ Here is the call graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1086 of file gtest-internal.h

References TauVsDIS_MachineLearning_Differentiation::array.

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

+ Here is the caller graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1065 of file gtest-internal.h

References testing::internal::ArrayEq(), parse_cmake_options::begin, testing::internal::NativeArray< Element >::begin(), size, and testing::internal::NativeArray< Element >::size().

+ Here is the call graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1062 of file gtest-internal.h

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

+ Here is the caller graph for this function:

Member Data Documentation

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

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

View newest version in sPHENIX GitHub at line 1092 of file gtest-internal.h

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

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

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

View newest version in sPHENIX GitHub at line 1094 of file gtest-internal.h

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

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

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

View newest version in sPHENIX GitHub at line 1093 of file gtest-internal.h

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


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