comparison src/mxarray.h @ 5907:288c341438f9

[project @ 2006-07-27 03:21:02 by jwe]
author jwe
date Thu, 27 Jul 2006 03:21:03 +0000
parents c20eb7330d13
children 814f20da2cdb
comparison
equal deleted inserted replaced
5906:bdf16e1564e1 5907:288c341438f9
160 return new mxArray (new_rep, name, persistent); 160 return new mxArray (new_rep, name, persistent);
161 } 161 }
162 162
163 virtual ~mxArray (void); 163 virtual ~mxArray (void);
164 164
165 virtual octave_value as_octave_value (void) const;
166
167 void mark_persistent (void) const { persistent = true; } 165 void mark_persistent (void) const { persistent = true; }
168 166
169 void unmark_persistent (void) const { persistent = false; } 167 void unmark_persistent (void) const { persistent = false; }
170 168
171 bool is_persistent (void) const { return persistent; } 169 bool is_persistent (void) const { return persistent; }
306 } 304 }
307 305
308 return retval; 306 return retval;
309 } 307 }
310 308
309 static octave_value as_octave_value (mxArray *ptr);
310
311 protected: 311 protected:
312
313 virtual octave_value as_octave_value (void) const;
312 314
313 mxArray (const xmxArray&) : rep (0), name (0), persistent (false) { } 315 mxArray (const xmxArray&) : rep (0), name (0), persistent (false) { }
314 316
315 private: 317 private:
316 318