25 |
EscriptParams::EscriptParams() |
EscriptParams::EscriptParams() |
26 |
{ |
{ |
27 |
too_many_lines=80; |
too_many_lines=80; |
28 |
|
autolazy=0; |
29 |
} |
} |
30 |
|
|
31 |
int |
int |
35 |
{ |
{ |
36 |
return too_many_lines; |
return too_many_lines; |
37 |
} |
} |
38 |
|
if (!strcmp(name,"AUTOLAZY")) |
39 |
|
{ |
40 |
|
return autolazy; |
41 |
|
} |
42 |
return sentinel; |
return sentinel; |
43 |
} |
} |
44 |
|
|
49 |
{ |
{ |
50 |
too_many_lines=value; |
too_many_lines=value; |
51 |
} |
} |
52 |
|
if (!strcmp(name,"AUTOLAZY")) |
53 |
|
{ |
54 |
|
autolazy=!(value==0); // set to 1 or zero |
55 |
|
} |
56 |
} |
} |
57 |
|
|
58 |
void |
void |
74 |
using namespace boost::python; |
using namespace boost::python; |
75 |
boost::python::list l; |
boost::python::list l; |
76 |
l.append(make_tuple("TOO_MANY_LINES","Maximum number of lines to output when printing data before printing a summary instead.")); |
l.append(make_tuple("TOO_MANY_LINES","Maximum number of lines to output when printing data before printing a summary instead.")); |
77 |
|
l.append(make_tuple("AUTOLAZY","{0,1} Operations involving Expanded Data will create lazy results.")); |
78 |
return l; |
return l; |
79 |
} |
} |
80 |
|
|