ONE - On-device Neural Engine
|
Represents literals which should go to the artifact source code as is. More...
#include <ArtifactModel.h>
Public Member Functions | |
ArtifactLiteral (std::string value) | |
void | accept (IArtifactGenerator *g) const override |
This is the core function of each artifact entity and is implemented by all concrete classes in the hierarchy. | |
const std::string & | getValue () 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. | |
Additional Inherited Members | |
Protected Member Functions inherited from nnc::ArtifactEntity | |
ArtifactEntity ()=default | |
Represents literals which should go to the artifact source code as is.
Definition at line 100 of file ArtifactModel.h.
|
inlineexplicit |
Definition at line 103 of file ArtifactModel.h.
|
inlineoverridevirtual |
This is the core function of each artifact entity and is implemented by all concrete classes in the hierarchy.
Implements nnc::ArtifactEntity.
Definition at line 105 of file ArtifactModel.h.
|
inline |
Returns the literal value.
Definition at line 111 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit(), and nnc::ArtifactGeneratorCppDecl::visit().