comparison src/ov.cc @ 5353:df230b7df93c

[project @ 2005-05-18 02:18:24 by jwe]
author jwe
date Wed, 18 May 2005 02:18:24 +0000
parents 4c8a2e4e0717
children d33c3ef151cf
comparison
equal deleted inserted replaced
5352:ac4a7df431d4 5353:df230b7df93c
771 : rep (new octave_struct (m)) 771 : rep (new octave_struct (m))
772 { 772 {
773 rep->count = 1; 773 rep->count = 1;
774 } 774 }
775 775
776 octave_value::octave_value (const octave_stream& s, int n)
777 : rep (new octave_file (s, n))
778 {
779 rep->count = 1;
780 }
781
782 octave_value::octave_value (const streamoff_array& off) 776 octave_value::octave_value (const streamoff_array& off)
783 : rep (new octave_streamoff (off)) 777 : rep (new octave_streamoff (off))
784 { 778 {
785 rep->count = 1; 779 rep->count = 1;
786 } 780 }
1104 1098
1105 Octave_map 1099 Octave_map
1106 octave_value::map_value (void) const 1100 octave_value::map_value (void) const
1107 { 1101 {
1108 return rep->map_value (); 1102 return rep->map_value ();
1109 }
1110
1111 octave_stream
1112 octave_value::stream_value (void) const
1113 {
1114 return rep->stream_value ();
1115 }
1116
1117 int
1118 octave_value::stream_number (void) const
1119 {
1120 return rep->stream_number ();
1121 } 1103 }
1122 1104
1123 std::streamoff 1105 std::streamoff
1124 octave_value::streamoff_value (void) const 1106 octave_value::streamoff_value (void) const
1125 { 1107 {
2214 octave_uint64_matrix::register_type (); 2196 octave_uint64_matrix::register_type ();
2215 octave_sparse_bool_matrix::register_type (); 2197 octave_sparse_bool_matrix::register_type ();
2216 octave_sparse_matrix::register_type (); 2198 octave_sparse_matrix::register_type ();
2217 octave_sparse_complex_matrix::register_type (); 2199 octave_sparse_complex_matrix::register_type ();
2218 octave_struct::register_type (); 2200 octave_struct::register_type ();
2219 octave_file::register_type ();
2220 octave_list::register_type (); 2201 octave_list::register_type ();
2221 octave_cs_list::register_type (); 2202 octave_cs_list::register_type ();
2222 octave_all_va_args::register_type (); 2203 octave_all_va_args::register_type ();
2223 octave_magic_colon::register_type (); 2204 octave_magic_colon::register_type ();
2224 octave_builtin::register_type (); 2205 octave_builtin::register_type ();