ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnc::ArtifactNamed Class Reference

Represents any named entity in the code. More...

#include <ArtifactModel.h>

Collaboration diagram for nnc::ArtifactNamed:

Public Member Functions

 ArtifactNamed (std::string name)
 
const std::string & name () const
 
- Public Member Functions inherited from nnc::ArtifactEntity
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.
 

Additional Inherited Members

- Protected Member Functions inherited from nnc::ArtifactEntity
 ArtifactEntity ()=default
 

Detailed Description

Represents any named entity in the code.

Definition at line 75 of file ArtifactModel.h.

Constructor & Destructor Documentation

◆ ArtifactNamed()

nnc::ArtifactNamed::ArtifactNamed ( std::string  name)
inlineexplicit

Definition at line 78 of file ArtifactModel.h.

78: _name(std::move(name)) {}
const std::string & name() const

Member Function Documentation

◆ name()


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