Sierra Toolkit
Version of the Day
|
Class c_ptr_func_ simply stores a pointer to an object of type T. This allows pointers which want to call the specified member function if they are not null to be output using operator<< on a c_ptr_func function. More...
#include <Writer.hpp>
Public Member Functions | |
c_ptr_func_ (const T *t, R(T::*pmf)() const) | |
Public Attributes | |
const T * | m_t |
Pointer to object. | |
R(T::* | m_pmf )() const |
Function to call for dump. | |
Class c_ptr_func_ simply stores a pointer to an object of type T. This allows pointers which want to call the specified member function if they are not null to be output using operator<< on a c_ptr_func function.
Definition at line 686 of file Writer.hpp.
|
inlineexplicit |
Creates a new c_ptr_func_ instance.
t | a T pointer to object |
pmf | a T::* member function pointer to call |
Definition at line 698 of file Writer.hpp.