MicroModelicaCCompiler  4.5.3
MicroModelica::IR::AnnotationValue Class Reference

#include <annotation.hpp>

Public Member Functions

 AnnotationValue ()
 
 ~AnnotationValue ()=default
 
int integer ()
 
void setInteger (int i)
 
double real ()
 
void setReal (double d)
 
string str ()
 
void setStr (string s)
 
string plainStr ()
 
void setPlainStr (string plain_str)
 

Protected Attributes

int _integer
 
double _real
 
string _str
 
string _plain_str
 

Detailed Description

Definition at line 282 of file annotation.hpp.

Constructor & Destructor Documentation

◆ AnnotationValue()

MicroModelica::IR::AnnotationValue::AnnotationValue ( )

Definition at line 724 of file annotation.cpp.

◆ ~AnnotationValue()

MicroModelica::IR::AnnotationValue::~AnnotationValue ( )
default

Member Function Documentation

◆ integer()

int MicroModelica::IR::AnnotationValue::integer ( )

Definition at line 726 of file annotation.cpp.

◆ plainStr()

string MicroModelica::IR::AnnotationValue::plainStr ( )

Definition at line 738 of file annotation.cpp.

◆ real()

double MicroModelica::IR::AnnotationValue::real ( )

Definition at line 730 of file annotation.cpp.

◆ setInteger()

void MicroModelica::IR::AnnotationValue::setInteger ( int  i)

Definition at line 728 of file annotation.cpp.

◆ setPlainStr()

void MicroModelica::IR::AnnotationValue::setPlainStr ( string  plain_str)

Definition at line 740 of file annotation.cpp.

◆ setReal()

void MicroModelica::IR::AnnotationValue::setReal ( double  d)

Definition at line 732 of file annotation.cpp.

◆ setStr()

void MicroModelica::IR::AnnotationValue::setStr ( string  s)

Definition at line 736 of file annotation.cpp.

◆ str()

string MicroModelica::IR::AnnotationValue::str ( )

Definition at line 734 of file annotation.cpp.

Member Data Documentation

◆ _integer

int MicroModelica::IR::AnnotationValue::_integer
protected

◆ _plain_str

string MicroModelica::IR::AnnotationValue::_plain_str
protected

Definition at line 299 of file annotation.hpp.

Referenced by MicroModelica::IR::ModelAnnotation::SZMatrix().

◆ _real

double MicroModelica::IR::AnnotationValue::_real
protected

◆ _str

string MicroModelica::IR::AnnotationValue::_str
protected

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