Sierra Toolkit  Version of the Day
stk_classic::diag::c_ptr_< T > Class Template Reference

Class c_ptr_ simply stores a pointer to an object of type T. This allows pointers which want to be deferenced if they are not null to be output using operator<< on a c_ptr function. More...

#include <Writer.hpp>

Public Member Functions

 c_ptr_ (const T *t)
 

Public Attributes

const T * m_t
 Pointer to object.
 

Detailed Description

template<class T>
class stk_classic::diag::c_ptr_< T >

Class c_ptr_ simply stores a pointer to an object of type T. This allows pointers which want to be deferenced if they are not null to be output using operator<< on a c_ptr function.

Definition at line 651 of file Writer.hpp.

Constructor & Destructor Documentation

◆ c_ptr_()

template<class T >
stk_classic::diag::c_ptr_< T >::c_ptr_ ( const T *  t)
inlineexplicit

Creates a new c_ptr_ instance.

Parameters
ta T pointer to object

Definition at line 659 of file Writer.hpp.


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