ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnc::ArtifactEntity Class Referenceabstract

The base class of the whole artifact entities hierarchy. More...

#include <ArtifactModel.h>

Public Member Functions

virtual ~ArtifactEntity ()=default
 
virtual bool isBlock () const
 If this entity represents something containing a block of instructions.
 
virtual void accept (IArtifactGenerator *g) const =0
 This is the core function of each artifact entity and is implemented by all concrete classes in the hierarchy.
 

Protected Member Functions

 ArtifactEntity ()=default
 

Detailed Description

The base class of the whole artifact entities hierarchy.

Definition at line 53 of file ArtifactModel.h.

Constructor & Destructor Documentation

◆ ~ArtifactEntity()

virtual nnc::ArtifactEntity::~ArtifactEntity ( )
virtualdefault

◆ ArtifactEntity()

nnc::ArtifactEntity::ArtifactEntity ( )
protecteddefault

Member Function Documentation

◆ accept()

◆ isBlock()

virtual bool nnc::ArtifactEntity::isBlock ( ) const
inlinevirtual

If this entity represents something containing a block of instructions.

Reimplemented in nnc::ArtifactBlock, nnc::ArtifactForLoop, and nnc::ArtifactIf.

Definition at line 61 of file ArtifactModel.h.

61{ return false; }

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