C# 클래스 DataDictionary.Types.DoubleType

상속: PredefinedType
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

공개 메소드들

메소드 설명
CombineType ( Type right, BinaryExpression Operator ) : Type

Combines two types to create a new one

CompareDoubleForEquality ( double left, double right ) : bool

Compares two double values for equality

CompareForEquality ( IValue left, IValue right ) : bool
DoubleType ( EfsSystem efsSystem ) : System

Constructor

Greater ( IValue left, IValue right ) : bool
Less ( IValue left, IValue right ) : bool
Match ( Type otherType ) : bool

Indicates that the other type can be placed in variables of this type

PerformArithmericOperation ( InterpretationContext context, IValue left, BinaryExpression operation, IValue right ) : IValue

Performs the arithmetic operation based on the type of the result

convert ( IValue value ) : IValue

Converts a value into a double value

getValue ( string image ) : IValue

Gets a value based on its image

비공개 메소드들

메소드 설명
getValue ( IValue val ) : double

Provides the double value from the IValue provided

메소드 상세

CombineType() 공개 메소드

Combines two types to create a new one
public CombineType ( Type right, BinaryExpression Operator ) : Type
right Type
Operator BinaryExpression
리턴 Type

CompareDoubleForEquality() 공개 정적인 메소드

Compares two double values for equality
public static CompareDoubleForEquality ( double left, double right ) : bool
left double
right double
리턴 bool

CompareForEquality() 공개 메소드

public CompareForEquality ( IValue left, IValue right ) : bool
left IValue
right IValue
리턴 bool

DoubleType() 공개 메소드

Constructor
public DoubleType ( EfsSystem efsSystem ) : System
efsSystem EfsSystem
리턴 System

Greater() 공개 메소드

public Greater ( IValue left, IValue right ) : bool
left IValue
right IValue
리턴 bool

Less() 공개 메소드

public Less ( IValue left, IValue right ) : bool
left IValue
right IValue
리턴 bool

Match() 공개 메소드

Indicates that the other type can be placed in variables of this type
public Match ( Type otherType ) : bool
otherType Type
리턴 bool

PerformArithmericOperation() 공개 메소드

Performs the arithmetic operation based on the type of the result
public PerformArithmericOperation ( InterpretationContext context, IValue left, BinaryExpression operation, IValue right ) : IValue
context InterpretationContext The context used to perform this operation
left IValue
operation BinaryExpression
right IValue
리턴 IValue

convert() 공개 메소드

Converts a value into a double value
public convert ( IValue value ) : IValue
value IValue
리턴 IValue

getValue() 공개 메소드

Gets a value based on its image
public getValue ( string image ) : IValue
image string
리턴 IValue