ExaTN
tensor_op_destroy.hpp
1 
11 #ifndef EXATN_NUMERICS_TENSOR_OP_DESTROY_HPP_
12 #define EXATN_NUMERICS_TENSOR_OP_DESTROY_HPP_
13 
14 #include "tensor_basic.hpp"
15 #include "tensor_operation.hpp"
16 
17 namespace exatn{
18 
19 namespace numerics{
20 
22 public:
23 
25 
26  TensorOpDestroy(const TensorOpDestroy &) = default;
27  TensorOpDestroy & operator=(const TensorOpDestroy &) = default;
28  TensorOpDestroy(TensorOpDestroy &&) noexcept = default;
29  TensorOpDestroy & operator=(TensorOpDestroy &&) noexcept = default;
30  virtual ~TensorOpDestroy() = default;
31 
33  virtual bool isSet() const override;
34 
36  virtual int accept(runtime::TensorNodeExecutor & node_executor,
37  runtime::TensorOpExecHandle * exec_handle) override;
38 
40  static std::unique_ptr<TensorOperation> createNew();
41 
42 private:
43 
44 };
45 
46 } //namespace numerics
47 
48 } //namespace exatn
49 
50 #endif //EXATN_NUMERICS_TENSOR_OP_DESTROY_HPP_
exatn::numerics::TensorOpDestroy::isSet
virtual bool isSet() const override
Definition: tensor_op_destroy.cpp:22
exatn
Definition: DriverClient.hpp:10
exatn::numerics::TensorOpDestroy::createNew
static std::unique_ptr< TensorOperation > createNew()
Definition: tensor_op_destroy.cpp:33
exatn::numerics::TensorOperation
Definition: tensor_operation.hpp:36
exatn::numerics::TensorOpDestroy
Definition: tensor_op_destroy.hpp:21
exatn::runtime::TensorNodeExecutor
Definition: tensor_node_executor.hpp:36
exatn::numerics::TensorOpDestroy::accept
virtual int accept(runtime::TensorNodeExecutor &node_executor, runtime::TensorOpExecHandle *exec_handle) override
Definition: tensor_op_destroy.cpp:27