diff options
author | Sunil Shetye | 2018-09-17 16:11:31 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-10-08 11:24:12 +0530 |
commit | f389f174481df676c841ebcc87a7b8b313921bbc (patch) | |
tree | 2551fd05222a78d4441f5883a97980bda1d6b241 /js/Sinks | |
parent | 4dc055ae23c9e33e459b7b583a67f92b5972a062 (diff) | |
download | sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.gz sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.bz2 sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.zip |
add importset and getContainer to combined.js
Diffstat (limited to 'js/Sinks')
-rw-r--r-- | js/Sinks/AFFICH_m.js | 12 | ||||
-rw-r--r-- | js/Sinks/BARXY.js | 10 | ||||
-rw-r--r-- | js/Sinks/CANIMXY.js | 16 | ||||
-rw-r--r-- | js/Sinks/CANIMXY3D.js | 16 | ||||
-rw-r--r-- | js/Sinks/CEVENTSCOPE.js | 11 | ||||
-rw-r--r-- | js/Sinks/CFSCOPE.js | 14 | ||||
-rw-r--r-- | js/Sinks/CLKOUTV_f.js | 6 | ||||
-rw-r--r-- | js/Sinks/CLKOUT_f.js | 6 | ||||
-rw-r--r-- | js/Sinks/CMAT3D.js | 10 | ||||
-rw-r--r-- | js/Sinks/CMATVIEW.js | 8 | ||||
-rw-r--r-- | js/Sinks/CMSCOPE.js | 16 | ||||
-rw-r--r-- | js/Sinks/CSCOPE.js | 15 | ||||
-rw-r--r-- | js/Sinks/CSCOPXY.js | 16 | ||||
-rw-r--r-- | js/Sinks/CSCOPXY3D.js | 16 | ||||
-rw-r--r-- | js/Sinks/OUTIMPL_f.js | 6 | ||||
-rw-r--r-- | js/Sinks/OUT_f.js | 6 | ||||
-rw-r--r-- | js/Sinks/TOWS_c.js | 8 | ||||
-rw-r--r-- | js/Sinks/TRASH_f.js | 1 | ||||
-rw-r--r-- | js/Sinks/WFILE_f.js | 9 | ||||
-rw-r--r-- | js/Sinks/WRITEAU_f.js | 7 | ||||
-rw-r--r-- | js/Sinks/WRITEC_f.js | 10 |
21 files changed, 219 insertions, 0 deletions
diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js index 68c00ab2..5daa5b0f 100644 --- a/js/Sinks/AFFICH_m.js +++ b/js/Sinks/AFFICH_m.js @@ -105,4 +105,16 @@ function AFFICH_m() { AFFICH_m.prototype.get_popup_title = function AFFICH_m() { return this.set_param_popup_title; } + AFFICH_m.prototype.importset = function AFFICH_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.font = ary[1]; + this.fontsize = ary[2]; + this.colr = ary[3]; + this.nt = ary[4]; + this.nd = ary[5]; + this.herit = ary[6]; + } + AFFICH_m.prototype.getContainer = function AFFICH_m() { return new AfficheBlock(this.x); } } diff --git a/js/Sinks/BARXY.js b/js/Sinks/BARXY.js index e9c5f922..df38915d 100644 --- a/js/Sinks/BARXY.js +++ b/js/Sinks/BARXY.js @@ -79,4 +79,14 @@ function BARXY() { BARXY.prototype.get_popup_title = function BARXY() { return this.set_param_popup_title; } + BARXY.prototype.importset = function BARXY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.xmin = ary[0]; + this.xmax = ary[1]; + this.ymin = ary[2]; + this.ymax = ary[3]; + this.thickness = ary[4]; + } + BARXY.prototype.getContainer = function BARXY() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CANIMXY.js b/js/Sinks/CANIMXY.js index 2625d745..d5387758 100644 --- a/js/Sinks/CANIMXY.js +++ b/js/Sinks/CANIMXY.js @@ -132,4 +132,20 @@ function CANIMXY() { CANIMXY.prototype.get_popup_title = function CANIMXY() { return this.set_param_popup_title; } + CANIMXY.prototype.importset = function CANIMXY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nbr_curves = ary[0]; + this.clrs = ary[1]; + this.siz = ary[2]; + this.win = ary[3]; + this.wpos = ary[4]; + this.wdim = ary[5]; + this.xmin = ary[6]; + this.xmax = ary[7]; + this.ymin = ary[8]; + this.ymax = ary[9]; + this.N = ary[10]; + } + CANIMXY.prototype.getContainer = function CANIMXY() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CANIMXY3D.js b/js/Sinks/CANIMXY3D.js index cc98d47f..0a488c5d 100644 --- a/js/Sinks/CANIMXY3D.js +++ b/js/Sinks/CANIMXY3D.js @@ -149,4 +149,20 @@ function CANIMXY3D() { CANIMXY3D.prototype.get_popup_title = function CANIMXY3D() { return this.set_param_popup_title; } + CANIMXY3D.prototype.importset = function CANIMXY3D() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nbr_curves = ary[0]; + this.clrs = ary[1]; + this.siz = ary[2]; + this.win = ary[3]; + this.wpos = ary[4]; + this.wdim = ary[5]; + this.vec_x = ary[6]; + this.vec_y = ary[7]; + this.vec_z = ary[8]; + this.param3ds = ary[9]; + this.N = ary[10]; + } + CANIMXY3D.prototype.getContainer = function CANIMXY3D() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index 1ac1b62d..c22f1199 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -108,4 +108,15 @@ function CEVENTSCOPE() { CEVENTSCOPE.prototype.get_popup_title = function CEVENTSCOPE() { return this.set_param_popup_title; } + CEVENTSCOPE.prototype.importset = function CEVENTSCOPE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nclock = ary[0]; + this.clrs = ary[1]; + this.win = ary[2]; + this.wpos = ary[3]; + this.wdim = ary[4]; + this.per = ary[5]; + } + CEVENTSCOPE.prototype.getContainer = function CEVENTSCOPE() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js index cf0effef..fcb6b3e8 100644 --- a/js/Sinks/CFSCOPE.js +++ b/js/Sinks/CFSCOPE.js @@ -120,4 +120,18 @@ function CFSCOPE() { CFSCOPE.prototype.get_popup_title = function CFSCOPE() { return this.set_param_popup_title; } + CFSCOPE.prototype.importset = function CFSCOPE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.clrs = ary[0]; + this.win = ary[1]; + this.wpos = ary[2]; + this.wdim = ary[3]; + this.ymin = ary[4]; + this.ymax = ary[5]; + this.per = ary[6]; + this.N = ary[7]; + this.wu = ary[8]; + } + CFSCOPE.prototype.getContainer = function CFSCOPE() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CLKOUTV_f.js b/js/Sinks/CLKOUTV_f.js index 95663c9e..19152eda 100644 --- a/js/Sinks/CLKOUTV_f.js +++ b/js/Sinks/CLKOUTV_f.js @@ -112,4 +112,10 @@ function CLKOUTV_f() { this.x = []; var y = []; } + CLKOUTV_f.prototype.importset = function CLKOUTV_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + CLKOUTV_f.prototype.getContainer = function CLKOUTV_f() { return new EventOutBlock(this.x); } } diff --git a/js/Sinks/CLKOUT_f.js b/js/Sinks/CLKOUT_f.js index eaa7c660..7edc92bf 100644 --- a/js/Sinks/CLKOUT_f.js +++ b/js/Sinks/CLKOUT_f.js @@ -54,4 +54,10 @@ function CLKOUT_f() { CLKOUT_f.prototype.get_popup_title = function CLKOUT_f() { return this.set_param_popup_title; } + CLKOUT_f.prototype.importset = function CLKOUT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + CLKOUT_f.prototype.getContainer = function CLKOUT_f() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index 4afe2f60..50e9d1af 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -83,4 +83,14 @@ function CMAT3D() { CMAT3D.prototype.get_popup_title = function CMAT3D() { return this.set_param_popup_title; } + CMAT3D.prototype.importset = function CMAT3D() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.vec_x = ary[0]; + this.vec_y = ary[1]; + this.colormap = ary[2]; + this.cmin = ary[3]; + this.cmax = ary[4]; + } + CMAT3D.prototype.getContainer = function CMAT3D() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js index c6933392..93f2a5fa 100644 --- a/js/Sinks/CMATVIEW.js +++ b/js/Sinks/CMATVIEW.js @@ -75,4 +75,12 @@ function CMATVIEW() { CMATVIEW.prototype.get_popup_title = function CMATVIEW() { return this.set_param_popup_title; } + CMATVIEW.prototype.importset = function CMATVIEW() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.colormap = ary[0]; + this.cmin = ary[1]; + this.cmax = ary[2]; + } + CMATVIEW.prototype.getContainer = function CMATVIEW() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js index 2e4bebd8..a99952de 100644 --- a/js/Sinks/CMSCOPE.js +++ b/js/Sinks/CMSCOPE.js @@ -158,4 +158,20 @@ function CMSCOPE() { CMSCOPE.prototype.get_popup_title = function CMSCOPE() { return this.set_param_popup_title; } + CMSCOPE.prototype.importset = function CMSCOPE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.clrs = ary[1]; + this.win = ary[2]; + this.wpos = ary[3]; + this.wdim = ary[4]; + this.ymin = ary[5]; + this.ymax = ary[6]; + this.per = ary[7]; + this.N = ary[8]; + this.heritance = ary[9]; + this.nom = ary[10]; + } + CMSCOPE.prototype.getContainer = function CMSCOPE() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js index 2502f55d..a4e83c96 100644 --- a/js/Sinks/CSCOPE.js +++ b/js/Sinks/CSCOPE.js @@ -127,4 +127,19 @@ function CSCOPE() { CSCOPE.prototype.get_popup_title = function CSCOPE() { return this.set_param_popup_title; } + CSCOPE.prototype.importset = function CSCOPE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.clrs = ary[0]; + this.win = ary[1]; + this.wpos = ary[2]; + this.wdim = ary[3]; + this.ymin = ary[4]; + this.ymax = ary[5]; + this.per = ary[6]; + this.N = ary[7]; + this.heritance = ary[8]; + this.nom = ary[9]; + } + CSCOPE.prototype.getContainer = function CSCOPE() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js index 43bffdb0..87c89fb3 100644 --- a/js/Sinks/CSCOPXY.js +++ b/js/Sinks/CSCOPXY.js @@ -131,4 +131,20 @@ function CSCOPXY() { CSCOPXY.prototype.get_popup_title = function CSCOPXY() { return this.set_param_popup_title; } + CSCOPXY.prototype.importset = function CSCOPXY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nbr_curves = ary[0]; + this.clrs = ary[1]; + this.siz = ary[2]; + this.win = ary[3]; + this.wpos = ary[4]; + this.wdim = ary[5]; + this.xmin = ary[6]; + this.xmax = ary[7]; + this.ymin = ary[8]; + this.ymax = ary[9]; + this.N = ary[10]; + } + CSCOPXY.prototype.getContainer = function CSCOPXY() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js index 93e834cf..6a04bae5 100644 --- a/js/Sinks/CSCOPXY3D.js +++ b/js/Sinks/CSCOPXY3D.js @@ -144,4 +144,20 @@ function CSCOPXY3D() { CSCOPXY3D.prototype.get_popup_title = function CSCOPXY3D() { return this.set_param_popup_title; } + CSCOPXY3D.prototype.importset = function CSCOPXY3D() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nbr_curves = ary[0]; + this.clrs = ary[1]; + this.siz = ary[2]; + this.win = ary[3]; + this.wpos = ary[4]; + this.wdim = ary[5]; + this.vec_x = ary[6]; + this.vec_y = ary[7]; + this.vec_z = ary[8]; + this.param3ds = ary[9]; + this.N = ary[10]; + } + CSCOPXY3D.prototype.getContainer = function CSCOPXY3D() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js index cd9a653a..3eaa01e7 100644 --- a/js/Sinks/OUTIMPL_f.js +++ b/js/Sinks/OUTIMPL_f.js @@ -65,4 +65,10 @@ function OUTIMPL_f() { OUTIMPL_f.prototype.get_popup_title = function OUTIMPL_f() { return this.set_param_popup_title; } + OUTIMPL_f.prototype.importset = function OUTIMPL_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + OUTIMPL_f.prototype.getContainer = function OUTIMPL_f() { return new ImplicitOutBlock(this.x); } } diff --git a/js/Sinks/OUT_f.js b/js/Sinks/OUT_f.js index fb0a0e92..770f4d40 100644 --- a/js/Sinks/OUT_f.js +++ b/js/Sinks/OUT_f.js @@ -58,4 +58,10 @@ function OUT_f() { OUT_f.prototype.get_popup_title = function OUT_f() { return this.set_param_popup_title; } + OUT_f.prototype.importset = function OUT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + OUT_f.prototype.getContainer = function OUT_f() { return new ExplicitOutBlock(this.x); } } diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js index e3fa3f0f..e001e116 100644 --- a/js/Sinks/TOWS_c.js +++ b/js/Sinks/TOWS_c.js @@ -82,4 +82,12 @@ function TOWS_c() { TOWS_c.prototype.get_popup_title = function TOWS_c() { return this.set_param_popup_title; } + TOWS_c.prototype.importset = function TOWS_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nz = ary[0]; + this.varnam = ary[1]; + this.herit = ary[2]; + } + TOWS_c.prototype.getContainer = function TOWS_c() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/TRASH_f.js b/js/Sinks/TRASH_f.js index 9f748531..0455d2db 100644 --- a/js/Sinks/TRASH_f.js +++ b/js/Sinks/TRASH_f.js @@ -25,4 +25,5 @@ function TRASH_f() { TRASH_f.prototype.get_popup_title = function TRASH_f() { return; } + TRASH_f.prototype.getContainer = function TRASH_f() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/WFILE_f.js b/js/Sinks/WFILE_f.js index 88a49090..f8d4fc7c 100644 --- a/js/Sinks/WFILE_f.js +++ b/js/Sinks/WFILE_f.js @@ -114,4 +114,13 @@ function WFILE_f() { WFILE_f.prototype.get_popup_title = function WFILE_f() { return this.set_param_popup_title; } + WFILE_f.prototype.importset = function WFILE_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.fname1 = ary[1]; + this.frmt1 = ary[2]; + this.N = ary[3]; + } + WFILE_f.prototype.getContainer = function WFILE_f() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/WRITEAU_f.js b/js/Sinks/WRITEAU_f.js index 9fd91deb..ccd1d35f 100644 --- a/js/Sinks/WRITEAU_f.js +++ b/js/Sinks/WRITEAU_f.js @@ -82,4 +82,11 @@ function WRITEAU_f() { WRITEAU_f.prototype.get_popup_title = function WRITEAU_f() { return this.set_param_popup_title; } + WRITEAU_f.prototype.importset = function WRITEAU_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.N = ary[0]; + this.swap = ary[1]; + } + WRITEAU_f.prototype.getContainer = function WRITEAU_f() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/WRITEC_f.js b/js/Sinks/WRITEC_f.js index 08b0d6c9..42165bc6 100644 --- a/js/Sinks/WRITEC_f.js +++ b/js/Sinks/WRITEC_f.js @@ -114,4 +114,14 @@ function WRITEC_f() { WRITEC_f.prototype.get_popup_title = function WRITEC_f() { return this.set_param_popup_title; } + WRITEC_f.prototype.importset = function WRITEC_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.fname1 = ary[1]; + this.frmt1 = ary[2]; + this.N = ary[3]; + this.swap = ary[4]; + } + WRITEC_f.prototype.getContainer = function WRITEC_f() { return new BasicBlock(this.x); } } |