AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Types | Public Member Functions | Friends | List of all members
testing::internal::scoped_ptr< T > Class Template Reference

#include <gtest-port.h>

Public Types

typedef T element_type
 

Public Member Functions

 scoped_ptr (T *p=NULL)
 
 ~scoped_ptr ()
 
T & operator* () const
 
T * operator-> () const
 
T * get () const
 
T * release ()
 
void reset (T *p=NULL)
 

Friends

void swap (scoped_ptr &a, scoped_ptr &b)
 

Member Typedef Documentation

◆ element_type

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

Constructor & Destructor Documentation

◆ scoped_ptr()

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

◆ ~scoped_ptr()

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

Member Function Documentation

◆ get()

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

◆ operator*()

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

◆ operator->()

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

◆ release()

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

◆ reset()

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

Friends And Related Function Documentation

◆ swap

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

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0