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

#include <JETSCAPE/blob/main/external_packages/googletest/googletest/include/gtest/internal/gtest-port.h>

+ Collaboration diagram for testing::internal::scoped_ptr< T >:

Public Types

typedef T element_type
 

Public Member Functions

 scoped_ptr (T *p=NULL)
 
 ~scoped_ptr ()
 
Toperator* () const
 
Toperator-> () const
 
Tget () const
 
Trelease ()
 
void reset (T *p=NULL)
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (scoped_ptr)
 

Private Attributes

Tptr_
 

Friends

void swap (scoped_ptr &a, scoped_ptr &b)
 

Detailed Description

template<typename T>
class testing::internal::scoped_ptr< T >

Definition at line 1125 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 1125 of file gtest-port.h

Member Typedef Documentation

template<typename T>
typedef T testing::internal::scoped_ptr< T >::element_type

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

View newest version in sPHENIX GitHub at line 1127 of file gtest-port.h

Constructor & Destructor Documentation

template<typename T>
testing::internal::scoped_ptr< T >::scoped_ptr ( T p = NULL)
inlineexplicit

Definition at line 1129 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 1129 of file gtest-port.h

template<typename T>
testing::internal::scoped_ptr< T >::~scoped_ptr ( )
inline

Definition at line 1130 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 1130 of file gtest-port.h

Member Function Documentation

template<typename T>
T* testing::internal::scoped_ptr< T >::get ( void  ) const
inline

Definition at line 1134 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 1134 of file gtest-port.h

Referenced by testing::Message::GetString(), and testing::AssertionResult::operator!().

+ Here is the caller graph for this function:

template<typename T>
testing::internal::scoped_ptr< T >::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( scoped_ptr< T )
private
template<typename T>
T& testing::internal::scoped_ptr< T >::operator* ( ) const
inline

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

View newest version in sPHENIX GitHub at line 1132 of file gtest-port.h

template<typename T>
T* testing::internal::scoped_ptr< T >::operator-> ( ) const
inline

Definition at line 1133 of file gtest-port.h.

View newest version in sPHENIX GitHub at line 1133 of file gtest-port.h

template<typename T>
T* testing::internal::scoped_ptr< T >::release ( )
inline

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

View newest version in sPHENIX GitHub at line 1136 of file gtest-port.h

template<typename T>
void testing::internal::scoped_ptr< T >::reset ( T p = NULL)
inline

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

View newest version in sPHENIX GitHub at line 1142 of file gtest-port.h

Referenced by testing::internal::scoped_ptr< const ::std::string >::~scoped_ptr().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

template<typename T>
void swap ( scoped_ptr< T > &  a,
scoped_ptr< T > &  b 
)
friend

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

View newest version in sPHENIX GitHub at line 1151 of file gtest-port.h

Member Data Documentation


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