Mercurial > hg > octave-nkf
diff src/ov-fcn.h @ 3325:2efa28a91e7a
[project @ 1999-10-29 21:39:20 by jwe]
author | jwe |
---|---|
date | Fri, 29 Oct 1999 21:39:31 +0000 |
parents | 4964d5391acc |
children | b80bbb43a1a9 |
line wrap: on
line diff
--- a/src/ov-fcn.h +++ b/src/ov-fcn.h @@ -30,6 +30,7 @@ #include <string> #include "oct-time.h" +#include "str-vec.h" #include "oct-alloc.h" #include "ov-base.h" @@ -57,6 +58,8 @@ bool is_function (void) const { return true; } + virtual bool is_dynamically_loaded_function (void) const { return false; } + virtual bool is_system_fcn_file (void) { return false; } virtual string fcn_file_name (void) const { return string (); } @@ -73,6 +76,8 @@ string doc_string (void) const { return doc; } + virtual void unload (void) { } + virtual void accept (tree_walker&) { } protected: @@ -80,16 +85,16 @@ octave_function (const string& nm, const string& ds) : my_name (nm), doc (ds) { } -private: - - octave_function (void); - // The name of this function. string my_name; // The help text for this function. string doc; +private: + + octave_function (void); + DECLARE_OCTAVE_ALLOCATOR };