C# 클래스 Microsoft.Zing.Process

파일 보기 프로젝트 열기: ZingModelChecker/Zing 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AssertionFailureCtx ZingSourceContext[]
PredicateContext PredicateContextIndexer

Private Properties

프로퍼티 타입 설명
Clone object
Process System
RaiseZingException void
RunNextBlock void
WriteString void
checkInStackFrames System.Collections.Stack
doPop ZingMethod
doPush void
revertStackFrames void
rollbackStackFrames void

공개 메소드들

메소드 설명
Call ( ZingMethod method ) : void
CallPredicateMethod ( ZingMethod predicateMethod ) : bool
ClearCurrentProcesses ( ) : void
ComputeFingerprint ( StateImpl state ) : Fingerprint

Compute the fingerprint of a process. The current implementation computes this fingerprint nonincrementally. But in the future this can be made incremental

ContainsVariable ( string variableName ) : bool

Check if the vaiable is declared in this process

DoCheckIn ( ) : object
DoCheckout ( object currentUle ) : void
DoRevert ( ) : void
DoRollback ( object uleList ) : void
GetCurrentProcess ( int threadId ) : Process
LookupValueByName ( string variableName ) : object
Process ( StateImpl stateObj, ZingMethod entryPoint, string name, uint id ) : System

Constructor

Process ( StateImpl stateObj, ZingMethod entryPoint, string name, uint id, int threadID ) : System
Return ( ZingSourceContext context, ZingAttribute contextAttribute ) : void
UpdateDirectLastFunctionCompleted ( ZingMethod method ) : void

비공개 메소드들

메소드 설명
Clone ( StateImpl myState, bool shallowCopy ) : object
Process ( StateImpl stateObj, string myName, uint myId ) : System

Private constructor for cloning only

RaiseZingException ( int exception ) : void
RunNextBlock ( ) : void
WriteString ( StateImpl state, BinaryWriter bw ) : void
checkInStackFrames ( ) : Stack
doPop ( ) : ZingMethod
doPush ( ZingMethod method ) : void
revertStackFrames ( ) : void
rollbackStackFrames ( Stack sules ) : void

메소드 상세

Call() 공개 메소드

public Call ( ZingMethod method ) : void
method ZingMethod
리턴 void

CallPredicateMethod() 공개 메소드

public CallPredicateMethod ( ZingMethod predicateMethod ) : bool
predicateMethod ZingMethod
리턴 bool

ClearCurrentProcesses() 공개 정적인 메소드

public static ClearCurrentProcesses ( ) : void
리턴 void

ComputeFingerprint() 공개 메소드

Compute the fingerprint of a process. The current implementation computes this fingerprint nonincrementally. But in the future this can be made incremental
public ComputeFingerprint ( StateImpl state ) : Fingerprint
state StateImpl
리턴 Fingerprint

ContainsVariable() 공개 메소드

Check if the vaiable is declared in this process
public ContainsVariable ( string variableName ) : bool
variableName string
리턴 bool

DoCheckIn() 공개 메소드

public DoCheckIn ( ) : object
리턴 object

DoCheckout() 공개 메소드

public DoCheckout ( object currentUle ) : void
currentUle object
리턴 void

DoRevert() 공개 메소드

public DoRevert ( ) : void
리턴 void

DoRollback() 공개 메소드

public DoRollback ( object uleList ) : void
uleList object
리턴 void

GetCurrentProcess() 공개 정적인 메소드

public static GetCurrentProcess ( int threadId ) : Process
threadId int
리턴 Process

LookupValueByName() 공개 메소드

public LookupValueByName ( string variableName ) : object
variableName string
리턴 object

Process() 공개 메소드

Constructor
public Process ( StateImpl stateObj, ZingMethod entryPoint, string name, uint id ) : System
stateObj StateImpl
entryPoint ZingMethod
name string
id uint
리턴 System

Process() 공개 메소드

public Process ( StateImpl stateObj, ZingMethod entryPoint, string name, uint id, int threadID ) : System
stateObj StateImpl
entryPoint ZingMethod
name string
id uint
threadID int
리턴 System

Return() 공개 메소드

public Return ( ZingSourceContext context, ZingAttribute contextAttribute ) : void
context ZingSourceContext
contextAttribute ZingAttribute
리턴 void

UpdateDirectLastFunctionCompleted() 공개 메소드

public UpdateDirectLastFunctionCompleted ( ZingMethod method ) : void
method ZingMethod
리턴 void

프로퍼티 상세

AssertionFailureCtx 공개적으로 정적으로 프로퍼티

Field to store the assertion failure context
public static ZingSourceContext[] AssertionFailureCtx
리턴 ZingSourceContext[]

PredicateContext 공개적으로 정적으로 프로퍼티

public static PredicateContextIndexer PredicateContext
리턴 PredicateContextIndexer