comparison liboctave/chMatrix.h @ 11265:a117dc8ea1b9

charMatrix::row_as_string: never strip trailing nul characters
author John W. Eaton <jwe@octave.org>
date Thu, 18 Nov 2010 03:30:53 -0500
parents 4d1fc073fbb7
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11264:79b77d71d01e 11265:a117dc8ea1b9
67 // destructive insert/delete/reorder operations 67 // destructive insert/delete/reorder operations
68 68
69 charMatrix& insert (const char *s, octave_idx_type r, octave_idx_type c); 69 charMatrix& insert (const char *s, octave_idx_type r, octave_idx_type c);
70 charMatrix& insert (const charMatrix& a, octave_idx_type r, octave_idx_type c); 70 charMatrix& insert (const charMatrix& a, octave_idx_type r, octave_idx_type c);
71 71
72 std::string row_as_string (octave_idx_type, bool strip_ws = false, bool raw = false) const; 72 std::string row_as_string (octave_idx_type, bool strip_ws = false) const;
73 73
74 // resize is the destructive equivalent for this one 74 // resize is the destructive equivalent for this one
75 75
76 charMatrix extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const; 76 charMatrix extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const;
77 77