Mercurial > octave-nkf
comparison libinterp/octave-value/ov-class.cc @ 18536:4cf930a64fad gui-release
maint: Periodic merge of stable to gui-release.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 01 Mar 2014 22:10:36 -0800 |
parents | a9cec5517d92 ea0d4dea1a17 |
children | f958e8cd6348 |
comparison
equal
deleted
inserted
replaced
18525:fa58514e7383 | 18536:4cf930a64fad |
---|---|
2164 DEFUN (ismethod, args, , | 2164 DEFUN (ismethod, args, , |
2165 "-*- texinfo -*-\n\ | 2165 "-*- texinfo -*-\n\ |
2166 @deftypefn {Built-in Function} {} ismethod (@var{x}, @var{method})\n\ | 2166 @deftypefn {Built-in Function} {} ismethod (@var{x}, @var{method})\n\ |
2167 Return true if @var{x} is a class object and the string @var{method}\n\ | 2167 Return true if @var{x} is a class object and the string @var{method}\n\ |
2168 is a method of this class.\n\ | 2168 is a method of this class.\n\ |
2169 @seealso{isobject}\n\ | 2169 @seealso{isprop, isobject}\n\ |
2170 @end deftypefn") | 2170 @end deftypefn") |
2171 { | 2171 { |
2172 octave_value retval; | 2172 octave_value retval; |
2173 | 2173 |
2174 if (args.length () == 2) | 2174 if (args.length () == 2) |
2266 @deftypefn {Built-in Function} {} superiorto (@var{class_name}, @dots{})\n\ | 2266 @deftypefn {Built-in Function} {} superiorto (@var{class_name}, @dots{})\n\ |
2267 When called from a class constructor, mark the object currently\n\ | 2267 When called from a class constructor, mark the object currently\n\ |
2268 constructed as having a higher precedence than @var{class_name}.\n\ | 2268 constructed as having a higher precedence than @var{class_name}.\n\ |
2269 More that one such class can be specified in a single call.\n\ | 2269 More that one such class can be specified in a single call.\n\ |
2270 This function may only be called from a class constructor.\n\ | 2270 This function may only be called from a class constructor.\n\ |
2271 @seealso{inferiorto}\n\ | |
2271 @end deftypefn") | 2272 @end deftypefn") |
2272 { | 2273 { |
2273 octave_value retval; | 2274 octave_value retval; |
2274 | 2275 |
2275 octave_function *fcn = octave_call_stack::caller (); | 2276 octave_function *fcn = octave_call_stack::caller (); |
2310 @deftypefn {Built-in Function} {} inferiorto (@var{class_name}, @dots{})\n\ | 2311 @deftypefn {Built-in Function} {} inferiorto (@var{class_name}, @dots{})\n\ |
2311 When called from a class constructor, mark the object currently\n\ | 2312 When called from a class constructor, mark the object currently\n\ |
2312 constructed as having a lower precedence than @var{class_name}.\n\ | 2313 constructed as having a lower precedence than @var{class_name}.\n\ |
2313 More that one such class can be specified in a single call.\n\ | 2314 More that one such class can be specified in a single call.\n\ |
2314 This function may only be called from a class constructor.\n\ | 2315 This function may only be called from a class constructor.\n\ |
2316 @seealso{superiorto}\n\ | |
2315 @end deftypefn") | 2317 @end deftypefn") |
2316 { | 2318 { |
2317 octave_value retval; | 2319 octave_value retval; |
2318 | 2320 |
2319 octave_function *fcn = octave_call_stack::caller (); | 2321 octave_function *fcn = octave_call_stack::caller (); |