Package Modelica.​Utilities.​Types
Type definitions used in package Modelica.Utilities

Information

This package contains type definitions used in Modelica.Utilities.

Extends from Modelica.​Icons.​TypesPackage (Icon for packages containing type definitions).

Package Contents

NameDescription
CompareEnumeration defining comparison of two strings
FileTypeEnumeration defining the type of a file
TokenTypeEnumeration defining the token type
TokenValueValue of token

Enumeration Modelica.​Utilities.​Types.​Compare
Enumeration defining comparison of two strings

Literals

NameDescription
LessString 1 is lexicographically less than string 2
EqualString 1 is identical to string 2
GreaterString 1 is lexicographically greater than string 2

Enumeration Modelica.​Utilities.​Types.​FileType
Enumeration defining the type of a file

Literals

NameDescription
NoFileNo file exists
RegularFileRegular file
DirectoryDirectory
SpecialFileSpecial file (pipe, FIFO, device, etc.)

Enumeration Modelica.​Utilities.​Types.​TokenType
Enumeration defining the token type

Literals

NameDescription
RealToken 
IntegerToken 
BooleanToken 
StringToken 
IdentifierToken 
DelimiterToken 
NoToken 

Record Modelica.​Utilities.​Types.​TokenValue
Value of token

Information

Extends from Modelica.​Icons.​Record (Icon for records).

Fields

TypeNameDescription
TokenTypetokenTypeType of token
RealrealValue if tokenType == TokenType.RealToken
IntegerintegerValue if tokenType == TokenType.IntegerToken
BooleanbooleanValue if tokenType == TokenType.BooleanToken
StringstringValue if tokenType == TokenType.StringToken/IdentifierToken/DelimiterToken