verifGetReqs
verifGetReqs(g_sessionId[ ?typet_type] [ ?ownert_owner] [ ?inHiert_parentReqId] [ ?mappableg_mappable] [ ?mappedg_mapped] [ ?domaing_domain] ) =>l_reqs/ nil
Description
Retrieves the list of requirements from a Verifier session that have the same type, owner, hierarchy, mappable or mapped property, and domain as specified.
Arguments
Value Returned
|
A list of requirements, all or specific ones that match the specified criteria. |
|
|
There are no requirements in the Verifier session or no requirements match the conditions. |
Examples
The following example opens a Verifier cellview and retrieves the list of the requirements from the Verifier session.
uid = verifOpenCellView("test" "results" "verifier")
=> 0
verifGetReqs(uid)
("ID1" "ID2" "ID3" "ID3.1" "ID3.2")
Gets requirements that are of type Spec Pass.
verifGetReqs(uid ?type "Spec Pass")
=> ("ID3")
Gets the unmapped requirements.
verifGetReqs(uid ?mapped nil)
=> ("ID2" "ID3" "ID3.1")
Gets requirements that are of type Ran Ok, belong to Tom, are children of parent ID3, are mappable and mapped:
verifGetReqs(uid ?type "Ran Ok" ?owner "Tom" ?inHier "ID3" ?mappable t ?mapped t ?domain "SIMULATION")
=> ("ID3.2")
Related Topics
Return to top