24.02.1
|
Print accessor class. More...
#include <GraphUtils.h>
Public Member Functions | |
PrintAccessor (std::ostream &output_stream=std::cout, IOFormatInfo io_fmt=IOFormatInfo()) | |
Constructor. More... | |
PrintAccessor (PrintAccessor &&)=default | |
Allow instances of this class to be move constructed. More... | |
PrintAccessor (const PrintAccessor &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
PrintAccessor & | operator= (const PrintAccessor &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
bool | access_tensor (ITensor &tensor) override |
Interface to be implemented to access a given tensor. More... | |
Public Member Functions inherited from ITensorAccessor | |
virtual | ~ITensorAccessor ()=default |
Default virtual destructor. More... | |
virtual bool | access_tensor_data () |
Returns true if the tensor data is being accessed. More... | |
Print accessor class.
Definition at line 210 of file GraphUtils.h.
PrintAccessor | ( | std::ostream & | output_stream = std::cout , |
IOFormatInfo | io_fmt = IOFormatInfo() |
||
) |
Constructor.
[out] | output_stream | (Optional) Output stream |
[in] | io_fmt | (Optional) Format information |
|
default |
Allow instances of this class to be move constructed.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
overridevirtual |
Interface to be implemented to access a given tensor.
[in] | tensor | Tensor to be accessed |
Implements ITensorAccessor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)