hiercIVVisitor.py 592 Bytes
Newer Older
1
2
3
4
5
6
7
#! /usr/bin/python

import ocarina
import taste
import lmp

def main ():
8
9
10
11
	mainAADLFile = '../projects/DemoIV2.aadl'
	aadlFiles = [mainAADLFile, '../projects/TASTE-Dataview.aadl', '../projects/TASTE_IV_Properties.aadl', \
		'../projects/taste_properties.aadl', '../projects/data_model.aadl', \
		'../projects/base_types.aadl', '../projects/deployment.aadl']
12
13
14
15
16
17
18
19
20
21
	
	ret = taste.load (aadlFiles, "interfaceview::IV::interfaceview.others")
	print 'load', ret 
	
	iv = taste.getTasteRoot()
	taste.visitIV(iv)
	 
if __name__ == "__main__":
    main ()
    #~ sys.exit (0);                       # exit