2882
|
1 /* |
|
2 |
|
3 Copyright (C) 1996, 1997 John W. Eaton |
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
20 |
|
21 */ |
|
22 |
4192
|
23 #if defined (__GNUG__) && defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION) |
2882
|
24 #pragma implementation |
|
25 #endif |
|
26 |
|
27 #ifdef HAVE_CONFIG_H |
|
28 #include <config.h> |
|
29 #endif |
|
30 |
3503
|
31 #include <iostream> |
2882
|
32 |
4051
|
33 #include "lo-sstream.h" |
2882
|
34 #include "lo-utils.h" |
|
35 |
4513
|
36 #include "Cell.h" |
2882
|
37 #include "defun.h" |
|
38 #include "error.h" |
|
39 #include "ov-list.h" |
|
40 #include "unwind-prot.h" |
|
41 |
4687
|
42 #include "byte-swap.h" |
|
43 #include "ls-oct-ascii.h" |
|
44 #include "ls-oct-binary.h" |
|
45 #include "ls-hdf5.h" |
|
46 #include "ls-utils.h" |
|
47 |
3219
|
48 DEFINE_OCTAVE_ALLOCATOR (octave_list); |
2882
|
49 |
4612
|
50 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_list, "list", "list"); |
2882
|
51 |
4513
|
52 octave_list::octave_list (const Cell& c) |
4591
|
53 : octave_base_value (), data () |
4513
|
54 { |
|
55 int n = c.length (); |
|
56 |
4591
|
57 data.resize (dim_vector (1, n)); |
4513
|
58 |
|
59 for (int i = 0; i < n; i++) |
4591
|
60 data(i) = c(i); |
4513
|
61 } |
|
62 |
2882
|
63 octave_value |
4247
|
64 octave_list::subsref (const std::string& type, |
4219
|
65 const std::list<octave_value_list>& idx) |
3933
|
66 { |
|
67 octave_value retval; |
|
68 |
|
69 switch (type[0]) |
|
70 { |
|
71 case '(': |
|
72 { |
|
73 octave_value_list tmp_idx = idx.front (); |
|
74 |
|
75 if (tmp_idx.length () == 1) |
|
76 { |
|
77 idx_vector i = tmp_idx (0).index_vector (); |
|
78 |
4591
|
79 retval = octave_list (data.index (i)); |
3933
|
80 } |
|
81 else |
|
82 error ("only one index allowed for lists"); |
|
83 } |
|
84 break; |
|
85 |
|
86 case '{': |
|
87 { |
|
88 octave_value_list tmp_idx = idx.front (); |
|
89 |
|
90 if (tmp_idx.length () == 1) |
|
91 { |
|
92 idx_vector i = tmp_idx (0).index_vector (); |
|
93 |
4591
|
94 Cell tmp = data.index (i); |
3933
|
95 |
|
96 if (tmp.length () == 1) |
|
97 retval = tmp(0); |
|
98 } |
|
99 else |
|
100 error ("only one index allowed for lists"); |
|
101 } |
|
102 break; |
|
103 |
|
104 case '.': |
|
105 { |
|
106 std::string nm = type_name (); |
|
107 error ("%s cannot be indexed with %c", nm.c_str (), type[0]); |
|
108 } |
|
109 break; |
|
110 |
|
111 default: |
|
112 panic_impossible (); |
|
113 } |
|
114 |
|
115 return retval.next_subsref (type, idx); |
|
116 } |
|
117 |
|
118 octave_value |
|
119 octave_list::do_index_op (const octave_value_list& idx, int resize_ok) |
2882
|
120 { |
|
121 octave_value retval; |
|
122 |
|
123 if (idx.length () == 1) |
|
124 { |
3219
|
125 idx_vector i = idx (0).index_vector (); |
2882
|
126 |
4591
|
127 retval = octave_list (data.index (i, resize_ok)); |
2882
|
128 } |
|
129 else |
|
130 error ("lists may only be indexed by a single scalar"); |
|
131 |
|
132 return retval; |
|
133 } |
|
134 |
3933
|
135 octave_value |
4247
|
136 octave_list::subsasgn (const std::string& type, |
4219
|
137 const std::list<octave_value_list>& idx, |
3933
|
138 const octave_value& rhs) |
|
139 { |
|
140 octave_value retval; |
|
141 |
|
142 int n = type.length (); |
|
143 |
|
144 octave_value t_rhs = rhs; |
|
145 |
|
146 if (n > 1) |
|
147 { |
|
148 switch (type[0]) |
|
149 { |
|
150 case '(': |
|
151 { |
|
152 octave_value tmp = do_index_op (idx.front (), true); |
|
153 |
|
154 if (! tmp.is_defined ()) |
|
155 tmp = octave_value::empty_conv (type.substr (1), rhs); |
|
156 |
|
157 if (! error_state) |
|
158 { |
4219
|
159 std::list<octave_value_list> next_idx (idx); |
3933
|
160 |
4219
|
161 next_idx.erase (next_idx.begin ()); |
3933
|
162 |
|
163 t_rhs = tmp.subsasgn (type.substr (1), next_idx, rhs); |
|
164 } |
|
165 } |
|
166 break; |
|
167 |
|
168 case '{': |
|
169 case '.': |
|
170 { |
|
171 std::string nm = type_name (); |
|
172 error ("%s cannot be indexed with %c", nm.c_str (), type[0]); |
|
173 } |
|
174 break; |
|
175 |
|
176 default: |
|
177 panic_impossible (); |
|
178 } |
|
179 } |
|
180 |
3940
|
181 if (! error_state) |
3933
|
182 { |
3940
|
183 switch (type[0]) |
|
184 { |
|
185 case '(': |
|
186 { |
|
187 octave_value_list i = idx.front (); |
3933
|
188 |
4769
|
189 int len = i.length (); |
|
190 |
|
191 for (int k = 0; k < len; k++) |
|
192 data.set_index (i(k).index_vector ()); |
|
193 |
|
194 ::assign (data, Cell (t_rhs), Cell::resize_fill_value ()); |
3933
|
195 |
3940
|
196 retval = octave_value (this, count + 1); |
|
197 } |
|
198 break; |
3933
|
199 |
3940
|
200 case '{': |
|
201 case '.': |
|
202 { |
|
203 std::string nm = type_name (); |
|
204 error ("%s cannot be indexed with %c", nm.c_str (), type[0]); |
|
205 } |
|
206 break; |
3933
|
207 |
3940
|
208 default: |
|
209 panic_impossible (); |
|
210 } |
3933
|
211 } |
|
212 |
|
213 return retval; |
|
214 } |
|
215 |
2882
|
216 void |
3196
|
217 octave_list::assign (const octave_value_list& idx, const octave_value& rhs) |
|
218 { |
|
219 if (idx.length () == 1) |
|
220 { |
3202
|
221 int i = idx(0).int_value (true); |
3196
|
222 |
|
223 if (! error_state) |
|
224 { |
4591
|
225 int n = data.length (); |
3196
|
226 |
4461
|
227 if (i > 0) |
|
228 { |
|
229 if (Vwarn_resize_on_range_error && i > n) |
|
230 warning ("list index = %d out of range", i); |
|
231 |
4591
|
232 data(i-1) = rhs; |
4461
|
233 } |
3196
|
234 else |
3202
|
235 error ("list index = %d out of range", i); |
3196
|
236 } |
3202
|
237 else |
|
238 error ("list index must be an integer"); |
3196
|
239 } |
|
240 else |
|
241 error ("lists may only be indexed by a single scalar"); |
|
242 } |
|
243 |
4791
|
244 size_t |
|
245 octave_list::byte_size (void) const |
|
246 { |
|
247 size_t retval = 0; |
|
248 |
|
249 for (int i = 0; i < numel (); i++) |
|
250 retval += data(i).byte_size (); |
|
251 |
|
252 return retval; |
|
253 } |
|
254 |
4591
|
255 octave_value_list |
|
256 octave_list::list_value (void) const |
|
257 { |
|
258 octave_value_list retval; |
|
259 |
|
260 int n = data.length (); |
|
261 |
|
262 retval.resize (n); |
|
263 |
|
264 for (int i = 0; i < n; i++) |
|
265 retval(i) = data(i); |
|
266 |
|
267 return retval; |
|
268 } |
|
269 |
3196
|
270 void |
3523
|
271 octave_list::print (std::ostream& os, bool) const |
2901
|
272 { |
|
273 print_raw (os); |
|
274 } |
|
275 |
|
276 void |
3523
|
277 octave_list::print_raw (std::ostream& os, bool) const |
2882
|
278 { |
2985
|
279 unwind_protect::begin_frame ("octave_list_print"); |
2882
|
280 |
4591
|
281 int n = data.length (); |
2882
|
282 |
3196
|
283 if (n > 0) |
2882
|
284 { |
3196
|
285 indent (os); |
|
286 os << "("; |
|
287 newline (os); |
|
288 |
|
289 increment_indent_level (); |
2916
|
290 |
3196
|
291 for (int i = 0; i < n; i++) |
|
292 { |
4051
|
293 OSSTREAM buf; |
|
294 |
|
295 buf << "[" << i+1 << "]" << OSSTREAM_ENDS; |
2882
|
296 |
4591
|
297 octave_value val = data(i); |
2916
|
298 |
4051
|
299 val.print_with_name (os, OSSTREAM_STR (buf)); |
3196
|
300 |
4051
|
301 OSSTREAM_FREEZE (buf); |
3196
|
302 } |
2882
|
303 |
3196
|
304 decrement_indent_level (); |
2882
|
305 |
3196
|
306 indent (os); |
|
307 os << ")"; |
|
308 } |
|
309 else |
|
310 os << "()"; |
|
311 |
2901
|
312 newline (os); |
2882
|
313 |
2985
|
314 unwind_protect::run_frame ("octave_list_print"); |
2882
|
315 } |
|
316 |
2901
|
317 bool |
3523
|
318 octave_list::print_name_tag (std::ostream& os, const std::string& name) const |
2901
|
319 { |
|
320 indent (os); |
4591
|
321 if (data.length () == 0) |
3196
|
322 os << name << " = "; |
|
323 else |
|
324 { |
|
325 os << name << " ="; |
|
326 newline (os); |
|
327 } |
2901
|
328 return false; |
|
329 } |
|
330 |
2993
|
331 DEFUN (list, args, , |
3447
|
332 "-*- texinfo -*-\n\ |
3448
|
333 @deftypefn {Built-in Function} {} list (@var{a1}, @var{a2}, @dots{})\n\ |
3447
|
334 Create a new list with elements given by the arguments @var{a1},\n\ |
|
335 @var{a2}, @dots{}.\n\ |
|
336 @end deftypefn") |
2882
|
337 { |
4591
|
338 static bool warned = false; |
|
339 |
|
340 if (! warned) |
|
341 { |
|
342 warning ("list objects are deprecated; use cell arrays instead"); |
|
343 warned = true; |
|
344 } |
|
345 |
2882
|
346 return octave_value (args); |
|
347 } |
|
348 |
3219
|
349 DEFUN (nth, args, , |
3447
|
350 "-*- texinfo -*-\n\ |
|
351 @deftypefn {Built-in Function} {} nth (@var{list}, @var{n})\n\ |
|
352 Return the @var{n}-th element of @var{list}.\n\ |
|
353 @end deftypefn") |
3219
|
354 { |
|
355 octave_value retval; |
|
356 |
|
357 if (args.length () == 2) |
|
358 { |
|
359 octave_value_list lst = args(0).list_value (); |
|
360 |
|
361 if (! error_state) |
|
362 { |
|
363 int n = args(1).int_value (true); |
|
364 |
|
365 if (! error_state) |
|
366 { |
|
367 if (n > 0 && n <= lst.length ()) |
|
368 retval = lst(n-1); |
|
369 else |
|
370 error ("nth: index = %d out of range", n); |
|
371 } |
|
372 else |
|
373 error ("nth: second argument must be an integer"); |
|
374 } |
|
375 else |
|
376 error ("nth: first argument must be a list"); |
|
377 } |
|
378 else |
|
379 print_usage ("nth"); |
|
380 |
|
381 return retval; |
|
382 } |
|
383 |
2882
|
384 DEFUN (append, args, , |
3447
|
385 "-*- texinfo -*-\n\ |
|
386 @deftypefn {Built-in Function} {} append (@var{list}, @var{a1}, @var{a2}, @dots{})\n\ |
|
387 Return a new list created by appending @var{a1}, @var{a1}, @dots{}, to\n\ |
|
388 @var{list}. If any of the arguments to be appended is a list, its\n\ |
|
389 elements are appended individually. For example,\n\ |
2882
|
390 \n\ |
3447
|
391 @example\n\ |
|
392 x = list (1, 2);\n\ |
|
393 y = list (3, 4);\n\ |
|
394 append (x, y);\n\ |
|
395 @end example\n\ |
3219
|
396 \n\ |
3447
|
397 @noindent\n\ |
|
398 results in the list containing the four elements @samp{(1 2 3 4)}, not\n\ |
|
399 a list containing the three elements @samp{(1 2 (3 4))}.\n\ |
|
400 @end deftypefn") |
2882
|
401 { |
|
402 octave_value retval; |
|
403 |
|
404 int nargin = args.length (); |
|
405 |
|
406 if (nargin > 1) |
|
407 { |
|
408 octave_value_list tmp = args(0).list_value (); |
|
409 |
|
410 if (! error_state) |
|
411 { |
|
412 for (int i = 1; i < nargin; i++) |
3219
|
413 { |
|
414 octave_value ov = args(i); |
|
415 |
|
416 if (ov.is_list ()) |
|
417 tmp.append (ov.list_value ()); |
|
418 else |
|
419 tmp.append (ov); |
|
420 } |
2882
|
421 |
4233
|
422 retval = octave_value (tmp); |
2882
|
423 } |
|
424 } |
|
425 else |
|
426 print_usage ("append"); |
|
427 |
|
428 return retval; |
|
429 } |
|
430 |
|
431 DEFUN (reverse, args, , |
3447
|
432 "-*- texinfo -*-\n\ |
|
433 @deftypefn {Built-in Function} {} reverse (@var{list})\n\ |
|
434 Return a new list created by reversing the elements of @var{list}.\n\ |
|
435 @end deftypefn") |
2882
|
436 { |
|
437 octave_value retval; |
|
438 |
|
439 int nargin = args.length (); |
|
440 |
|
441 if (nargin == 1) |
|
442 { |
|
443 octave_value_list tmp = args(0).list_value (); |
|
444 |
|
445 if (! error_state) |
4233
|
446 retval = octave_value (tmp.reverse ()); |
2882
|
447 } |
|
448 else |
|
449 print_usage ("reverse"); |
|
450 |
|
451 return retval; |
|
452 } |
|
453 |
3196
|
454 DEFUN (splice, args, , |
3447
|
455 "-*- texinfo -*-\n\ |
|
456 @deftypefn {Built-in Function} {} splice (@var{list_1}, @var{offset}, @var{length}, @var{list_2})\n\ |
|
457 Replace @var{length} elements of @var{list_1} beginning at\n\ |
|
458 @var{offset} with the contents of @var{list_2} (if any). If\n\ |
|
459 @var{length} is omitted, all elements from @var{offset} to the end of\n\ |
|
460 @var{list_1} are replaced. As a special case, if @var{offset} is one\n\ |
|
461 greater than the length of @var{list_1} and @var{length} is 0, splice\n\ |
3448
|
462 is equivalent to @code{append (@var{list_1}, @var{list_2})}.\n\ |
3447
|
463 @end deftypefn") |
3196
|
464 { |
|
465 octave_value retval; |
|
466 |
|
467 int nargin = args.length (); |
|
468 |
|
469 if (nargin > 1 && nargin < 5) |
|
470 { |
|
471 octave_value_list list_1 = args(0).list_value (); |
|
472 |
|
473 if (! error_state) |
|
474 { |
3202
|
475 int offset = args(1).int_value (true); |
3196
|
476 |
|
477 if (! error_state) |
|
478 { |
3202
|
479 offset--; |
|
480 |
|
481 int length = 0; |
|
482 |
|
483 octave_value_list list_2; |
3196
|
484 |
3202
|
485 if (nargin < 3) |
|
486 length = list_1.length () - offset; |
|
487 else |
|
488 { |
|
489 length = args(2).int_value (true); |
3196
|
490 |
3202
|
491 if (! error_state) |
3196
|
492 { |
3202
|
493 if (nargin == 4) |
|
494 { |
|
495 list_2 = args(3).list_value (); |
3196
|
496 |
3202
|
497 if (error_state) |
|
498 error ("splice: fourth argument must be a list"); |
3196
|
499 } |
|
500 } |
3202
|
501 else |
|
502 error ("splice: LENGTH must be an integer"); |
|
503 } |
3196
|
504 |
3202
|
505 if (! error_state) |
4233
|
506 retval = octave_value (list_1.splice (offset, length, list_2)); |
3196
|
507 } |
|
508 else |
|
509 error ("splice: OFFSET must be an integer"); |
|
510 } |
|
511 else |
|
512 error ("splice: first argument must be a list"); |
|
513 } |
|
514 else |
|
515 print_usage ("splice"); |
|
516 |
|
517 return retval; |
|
518 } |
|
519 |
4687
|
520 bool |
|
521 octave_list::save_ascii (std::ostream& os, bool& infnan_warned, |
|
522 bool strip_nan_and_inf) |
|
523 { |
|
524 octave_value_list lst = list_value (); |
|
525 os << "# length: " << lst.length () << "\n"; |
|
526 |
|
527 for (int i = 0; i < lst.length (); ++i) |
|
528 { |
|
529 // should we use lst.name_tags () to label the elements? |
|
530 char s[20]; |
|
531 sprintf (s, "_%d", i); |
|
532 bool b = save_ascii_data (os, lst (i), s, infnan_warned, |
|
533 strip_nan_and_inf, 0, 0); |
|
534 |
|
535 if (! b) |
|
536 return false; |
|
537 } |
|
538 |
|
539 return true; |
|
540 } |
|
541 |
|
542 bool |
|
543 octave_list::load_ascii (std::istream& is) |
|
544 { |
|
545 int len = 0; |
|
546 bool success = true; |
|
547 |
|
548 if (extract_keyword (is, "length", len) && len >= 0) |
|
549 { |
|
550 if (len > 0) |
|
551 { |
|
552 octave_value_list lst; |
|
553 |
|
554 for (int j = 0; j < len; j++) |
|
555 { |
|
556 octave_value t2; |
|
557 bool dummy; |
|
558 |
|
559 // recurse to read list elements |
|
560 std::string nm |
|
561 = read_ascii_data (is, std::string (), dummy, t2, count); |
|
562 |
|
563 if (!is) |
|
564 break; |
|
565 |
|
566 lst.append (t2); |
|
567 } |
|
568 |
|
569 if (is) |
|
570 data = lst; |
|
571 else |
|
572 { |
|
573 error ("load: failed to load list"); |
|
574 success = false; |
|
575 } |
|
576 } |
|
577 else if (len == 0 ) |
|
578 data = Cell (0, 0); |
|
579 else |
|
580 panic_impossible (); |
|
581 } |
|
582 else { |
|
583 error ("load: failed to extract number of elements in list"); |
|
584 success = false; |
|
585 } |
|
586 |
|
587 return success; |
|
588 } |
|
589 |
|
590 bool |
|
591 octave_list::save_binary (std::ostream& os, bool& save_as_floats) |
|
592 { |
|
593 octave_value_list lst = list_value (); |
|
594 |
|
595 FOUR_BYTE_INT len = lst.length(); |
|
596 os.write (X_CAST (char *, &len), 4); |
|
597 |
|
598 for (int i = 0; i < lst.length (); i++) |
|
599 { |
|
600 // should we use lst.name_tags () to label the elements? |
|
601 char s[20]; |
|
602 sprintf (s, "_%d", i); |
|
603 |
|
604 // Recurse to print sub-value. |
|
605 bool b = save_binary_data (os, lst(i), s, "", 0, save_as_floats); |
|
606 |
|
607 if (! b) |
|
608 return false; |
|
609 } |
|
610 |
|
611 return true; |
|
612 } |
|
613 |
|
614 bool |
|
615 octave_list::load_binary (std::istream& is, bool swap, |
|
616 oct_mach_info::float_format fmt) |
|
617 { |
|
618 FOUR_BYTE_INT len; |
|
619 if (! is.read (X_CAST (char *, &len), 4)) |
|
620 return false; |
|
621 if (swap) |
|
622 swap_4_bytes (X_CAST (char *, &len)); |
|
623 |
|
624 if (len > 0) |
|
625 { |
|
626 octave_value_list lst; |
|
627 |
|
628 for (int i = 0; i < len; i++) |
|
629 { |
|
630 octave_value t2; |
|
631 bool dummy; |
|
632 std::string doc; |
|
633 |
|
634 // recurse to read list elements |
|
635 std::string nm = read_binary_data (is, swap, fmt, std::string (), |
|
636 dummy, t2, doc); |
|
637 |
|
638 if (!is) |
|
639 return false; |
|
640 |
|
641 lst.append(t2); |
|
642 } |
|
643 |
|
644 if (is) |
|
645 data = lst; |
|
646 else |
|
647 { |
|
648 error ("load: failed to load list"); |
|
649 return false; |
|
650 } |
|
651 |
|
652 } |
|
653 else if (len == 0 ) |
|
654 data = Cell (0, 0); |
|
655 else |
|
656 return false; |
|
657 |
|
658 return true; |
|
659 } |
|
660 |
|
661 #if defined (HAVE_HDF5) |
|
662 bool |
|
663 octave_list::save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats) |
|
664 { |
|
665 hid_t data_hid = -1; |
|
666 |
|
667 data_hid = H5Gcreate (loc_id, name, 0); |
|
668 if (data_hid < 0) return false; |
|
669 |
|
670 // recursively add each element of the list to this group |
|
671 octave_value_list lst = list_value (); |
|
672 |
|
673 for (int i = 0; i < lst.length (); ++i) |
|
674 { |
|
675 // should we use lst.name_tags () to label the elements? |
|
676 char s[20]; |
|
677 sprintf (s, "_%d", i); |
|
678 bool retval2 = add_hdf5_data (data_hid, lst (i), s, "", |
|
679 false, save_as_floats); |
|
680 if (! retval2) |
|
681 break; |
|
682 } |
|
683 |
|
684 H5Gclose (data_hid); |
4837
|
685 |
4687
|
686 return true; |
|
687 } |
|
688 |
|
689 bool |
|
690 octave_list::load_hdf5 (hid_t loc_id, const char *name, |
|
691 bool have_h5giterate_bug) |
|
692 { |
|
693 bool retval = false; |
|
694 |
|
695 hdf5_callback_data dsub; |
|
696 |
4696
|
697 herr_t retval2 = -1; |
4687
|
698 octave_value_list lst; |
|
699 int current_item = 0; |
4696
|
700 #ifdef HAVE_H5GGET_NUM_OBJS |
|
701 hsize_t num_obj = 0; |
|
702 H5Gget_num_objs (loc_id, &num_obj); |
|
703 |
|
704 while (current_item < static_cast<int> (num_obj) |
|
705 && (retval2 = H5Giterate (loc_id, name, ¤t_item, |
|
706 hdf5_read_next_data, &dsub)) > 0) |
|
707 #else |
4687
|
708 while ((retval2 = H5Giterate (loc_id, name, ¤t_item, |
|
709 hdf5_read_next_data, &dsub)) > 0) |
4696
|
710 #endif |
4687
|
711 { |
|
712 lst.append (dsub.tc); |
|
713 |
|
714 if (have_h5giterate_bug) |
|
715 current_item++; // H5Giterate returned the last index processed |
|
716 } |
|
717 |
|
718 if (retval2 >= 0) |
|
719 { |
|
720 data = lst; |
|
721 retval = true; |
|
722 } |
|
723 |
|
724 return retval; |
|
725 } |
|
726 #endif |
|
727 |
2882
|
728 /* |
|
729 ;;; Local Variables: *** |
|
730 ;;; mode: C++ *** |
|
731 ;;; End: *** |
|
732 */ |