ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nest::Var Class Reference

#include <Var.h>

Public Member Functions

 Var ()=default
 
 Var (const VarID &id)
 
const VarIDid (void) const
 
 operator Expr (void) const
 

Detailed Description

Definition at line 26 of file Var.h.

Constructor & Destructor Documentation

◆ Var() [1/2]

nest::Var::Var ( )
default

◆ Var() [2/2]

nest::Var::Var ( const VarID id)
inline

Definition at line 32 of file Var.h.

32 : _id{id}
33 {
34 // DO NOTHING
35 }

Member Function Documentation

◆ id()

const VarID & nest::Var::id ( void  ) const
inline

Definition at line 38 of file Var.h.

38{ return _id; }

Referenced by nest::VarContext::bound(), and nest::VarContext::bound().

◆ operator Expr()

nest::Var::operator Expr ( void  ) const

Definition at line 22 of file Var.cpp.

22{ return std::make_shared<expr::VarNode>(_id); }

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