Mercurial > octave
comparison src/ov-fcn.h @ 2976:641689f67673
[project @ 1997-05-15 20:27:04 by jwe]
author | jwe |
---|---|
date | Thu, 15 May 1997 20:27:05 +0000 |
parents | ebbc34ff7f66 |
children | c3409a0cafa8 |
comparison
equal
deleted
inserted
replaced
2975:b9c107cbe388 | 2976:641689f67673 |
---|---|
33 | 33 |
34 #include "oct-alloc.h" | 34 #include "oct-alloc.h" |
35 #include "ov-base.h" | 35 #include "ov-base.h" |
36 #include "ov-typeinfo.h" | 36 #include "ov-typeinfo.h" |
37 | 37 |
38 class tree_walker; | |
39 | |
38 // Functions. | 40 // Functions. |
39 | 41 |
40 class | 42 class |
41 octave_function : public octave_base_value | 43 octave_function : public octave_base_value |
42 { | 44 { |
69 | 71 |
70 string name (void) const { return my_name; } | 72 string name (void) const { return my_name; } |
71 | 73 |
72 string doc_string (void) const { return doc; } | 74 string doc_string (void) const { return doc; } |
73 | 75 |
76 virtual void accept (tree_walker&) { } | |
77 | |
74 protected: | 78 protected: |
75 | 79 |
76 octave_function (const string& nm, const string& ds) | 80 octave_function (const string& nm, const string& ds) |
77 : my_name (nm), doc (ds) { } | 81 : my_name (nm), doc (ds) { } |
78 | 82 |