MicroModelicaCCompiler  4.5.3
MicroModelica::IR::Input Class Reference

#include <helpers.hpp>

Collaboration diagram for MicroModelica::IR::Input:

Public Member Functions

 Input ()
 
 Input (Index idx, Option< Range > range, int id)
 
 ~Input ()
 
std::string print () const
 
std::string macro () const
 

Private Member Functions

std::string token () const
 

Private Attributes

Index _idx
 
Option< Range_range
 
int _id
 

Friends

std::ostream & operator<< (std::ostream &out, const Input &i)
 

Detailed Description

Definition at line 179 of file helpers.hpp.

Constructor & Destructor Documentation

◆ Input() [1/2]

MicroModelica::IR::Input::Input ( )
inline

Definition at line 181 of file helpers.hpp.

◆ Input() [2/2]

MicroModelica::IR::Input::Input ( Index  idx,
Option< Range range,
int  id 
)

Definition at line 469 of file helpers.cpp.

◆ ~Input()

MicroModelica::IR::Input::~Input ( )
inline

Definition at line 183 of file helpers.hpp.

Member Function Documentation

◆ macro()

string MicroModelica::IR::Input::macro ( ) const

Definition at line 494 of file helpers.cpp.

◆ print()

string MicroModelica::IR::Input::print ( ) const

Definition at line 471 of file helpers.cpp.

References _id.

◆ token()

string MicroModelica::IR::Input::token ( ) const
private

Definition at line 487 of file helpers.cpp.

Referenced by MicroModelica::IR::FunctionPrinter::jacMacrosAccess().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const Input i 
)
friend

Definition at line 500 of file helpers.cpp.

Member Data Documentation

◆ _id

int MicroModelica::IR::Input::_id
private

Definition at line 192 of file helpers.hpp.

Referenced by MicroModelica::IR::FunctionPrinter::jacMacrosAccess(), and print().

◆ _idx

Index MicroModelica::IR::Input::_idx
private

Definition at line 190 of file helpers.hpp.

Referenced by MicroModelica::IR::FunctionPrinter::jacMacrosAccess().

◆ _range

Option<Range> MicroModelica::IR::Input::_range
private

Definition at line 191 of file helpers.hpp.

Referenced by MicroModelica::IR::FunctionPrinter::jacMacrosAccess().


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