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

A functor node with direct access to evaluated data. More...

#include <iopfunc.hpp>

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

Public Member Functions

virtual ~iOperableFunc (void)=default
 
virtual void update (void)=0
 Update local data-cache using this functor's operation. More...
 
- Public Member Functions inherited from teq::iFunctor
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...
 
- Public Member Functions inherited from teq::iData
virtual ~iData (void)=default
 
virtual void * data (void)=0
 Return pointer to internal data. More...
 
virtual const void * data (void) const =0
 Return const pointer to internal data. More...
 
virtual size_t type_code (void) const =0
 Return data type encoding. More...
 
virtual std::string type_label (void) const =0
 Return data type label (for better readability) More...
 
virtual size_t nbytes (void) const =0
 Return number of bytes in the data. More...
 

Detailed Description

A functor node with direct access to evaluated data.

Constructor & Destructor Documentation

◆ ~iOperableFunc()

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

Member Function Documentation

◆ update()

virtual void teq::iOperableFunc::update ( void  )
pure virtual

Update local data-cache using this functor's operation.

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


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