Mercurial > octave
comparison libinterp/corefcn/symtab.cc @ 18019:6762a6d23010 classdef
maint: Periodic merge of default to classdef.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 26 Nov 2013 12:38:46 -0500 |
parents | 97e49b588f5d 1d2e709bbbda |
children | 515187b51411 |
comparison
equal
deleted
inserted
replaced
17856:97e49b588f5d | 18019:6762a6d23010 |
---|---|
22 */ | 22 */ |
23 | 23 |
24 #ifdef HAVE_CONFIG_H | 24 #ifdef HAVE_CONFIG_H |
25 #include <config.h> | 25 #include <config.h> |
26 #endif | 26 #endif |
27 | |
28 #include <sstream> | |
27 | 29 |
28 #include "file-ops.h" | 30 #include "file-ops.h" |
29 #include "file-stat.h" | 31 #include "file-stat.h" |
30 #include "oct-env.h" | 32 #include "oct-env.h" |
31 #include "oct-time.h" | 33 #include "oct-time.h" |
1483 else if (sr.is_hidden ()) | 1485 else if (sr.is_hidden ()) |
1484 storage = 'h'; | 1486 storage = 'h'; |
1485 else if (sr.is_inherited ()) | 1487 else if (sr.is_inherited ()) |
1486 storage = 'i'; | 1488 storage = 'i'; |
1487 | 1489 |
1490 std::ostringstream buf; | |
1491 val.short_disp (buf); | |
1492 std::string short_disp_str = buf.str (); | |
1493 | |
1488 workspace_element elt (storage, nm, val.class_name (), | 1494 workspace_element elt (storage, nm, val.class_name (), |
1489 val.short_disp (), dv.str (), | 1495 short_disp_str, dv.str (), |
1490 val.is_complex_type ()); | 1496 val.is_complex_type ()); |
1491 | 1497 |
1492 retval.push_back (elt); | 1498 retval.push_back (elt); |
1493 } | 1499 } |
1494 } | 1500 } |