ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nest::expr::DerefNode Class Referencefinal

#include <DerefNode.h>

Collaboration diagram for nest::expr::DerefNode:

Public Member Functions

template<typename... Args>
 DerefNode (const DomainID &id, Args &&...indicies)
 
const DerefNodeasDeref (void) const override
 
const DomainIDid (void) const
 
const Subscriptsub (void) const
 
- Public Member Functions inherited from nest::expr::Node
virtual ~Node ()=default
 
template<typename T >
accept (Visitor< T > *v)
 
template<typename T >
accept (Visitor< T > &v)
 

Detailed Description

Definition at line 29 of file DerefNode.h.

Constructor & Destructor Documentation

◆ DerefNode()

template<typename... Args>
nest::expr::DerefNode::DerefNode ( const DomainID id,
Args &&...  indicies 
)
inline

Definition at line 33 of file DerefNode.h.

33 : _id{id}, _sub{std::forward<Args>(indicies)...}
34 {
35 // DO NOTHING
36 }

Member Function Documentation

◆ asDeref()

const DerefNode * nest::expr::DerefNode::asDeref ( void  ) const
inlineoverride

Definition at line 39 of file DerefNode.h.

39{ return this; }

◆ id()

const DomainID & nest::expr::DerefNode::id ( void  ) const
inline

Definition at line 42 of file DerefNode.h.

42{ return _id; }

◆ sub()

const Subscript & nest::expr::DerefNode::sub ( void  ) const
inline

Definition at line 43 of file DerefNode.h.

43{ return _sub; }

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