template <typename Element>
class NativeArray
Defined at line 1067 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h
Adapts a native array to a read-only STL-style container. Instead
of the complete STL container concept, this adaptor only implements
members useful for Google Mock's container matchers. New members
should be added as needed. To simplify the implementation, we only
support Element being a raw type (i.e. having no top-level const or
reference modifier). It's the client's responsibility to satisfy
this requirement. Element can be an array type itself (hence
multi-dimensional arrays are supported).
Public Methods
void NativeArray<Element> (const Element * array, size_t count, RelationToSourceReference )
Constructs from a native array. References the source.
Defined at line 1075 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h
void NativeArray<Element> (const Element * array, size_t count, RelationToSourceCopy )
Constructs from a native array. Copies the source.
Defined at line 1080 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h
void NativeArray<Element> (const NativeArray<Element> & rhs)
Copy constructor.
Defined at line 1085 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h
void ~NativeArray<Element> ()
Defined at line 1089 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h
size_t size ()
STL-style container methods.
Defined at line 1094 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h
const_iterator begin ()
Defined at line 1095 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h
const_iterator end ()
Defined at line 1096 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h
bool operator== (const NativeArray<Element> & rhs)
Defined at line 1097 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h