Tenncor
Public Member Functions | List of all members
teq::iFunctor Struct Referenceabstract

Interface of iOperation-defined operation node. More...

#include <ifunctor.hpp>

Inheritance diagram for teq::iFunctor:
Inheritance graph
[legend]
Collaboration diagram for teq::iFunctor:
Collaboration graph
[legend]

Public Member Functions

virtual ~iFunctor (void)=default
 
void accept (iTraveler &visiter) override
 Implementation of iTensor. More...
 
virtual Opcode get_opcode (void) const =0
 Return operation encoding. More...
 
virtual const ArgsTget_children (void) const =0
 Return children nodes as a vector of raw pointers. More...
 
virtual void update_child (FuncArg arg, size_t index)=0
 Update child at specified index. More...
 
- Public Member Functions inherited from teq::iTensor
virtual ~iTensor (void)=default
 
virtual const Shapeshape (void) const =0
 Return the shape held by this tensor. More...
 
virtual std::string to_string (void) const =0
 Return the string representation of the tensor. More...
 

Detailed Description

Interface of iOperation-defined operation node.

Constructor & Destructor Documentation

◆ ~iFunctor()

virtual teq::iFunctor::~iFunctor ( void  )
virtualdefault

Member Function Documentation

◆ accept()

void teq::iFunctor::accept ( iTraveler visiter)
inlineoverridevirtual

Implementation of iTensor.

Implements teq::iTensor.

◆ get_children()

virtual const ArgsT& teq::iFunctor::get_children ( void  ) const
pure virtual

Return children nodes as a vector of raw pointers.

Implemented in teq::Functor, dbg::CustomFunctor< T >, and eteq::Functor< T >.

◆ get_opcode()

virtual Opcode teq::iFunctor::get_opcode ( void  ) const
pure virtual

Return operation encoding.

Implemented in teq::Functor, dbg::CustomFunctor< T >, and eteq::Functor< T >.

◆ update_child()

virtual void teq::iFunctor::update_child ( FuncArg  arg,
size_t  index 
)
pure virtual

Update child at specified index.

Implemented in teq::Functor, dbg::CustomFunctor< T >, and eteq::Functor< T >.


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