23 #if !defined (octave_ov_fcn_h)
24 #define octave_ov_fcn_h 1
48 : relative (false), locked (false), private_function (false),
49 xdispatch_class (), my_name (), my_dir_name (), doc () { }
62 virtual std::string
fcn_file_name (
void)
const {
return std::string (); }
64 virtual std::string
src_file_name (
void)
const {
return std::string (); }
85 virtual bool is_class_constructor (
const std::string& = std::string ())
const
88 virtual bool is_class_method (
const std::string& = std::string ())
const
100 mark_as_private_function (
const std::string& cname = std::string ())
102 private_function =
true;
103 xdispatch_class = cname;
108 bool is_private_function_of_class (
const std::string& nm)
const
109 {
return private_function && xdispatch_class == nm; }
112 is_anonymous_function_of_class (
const std::string& = std::string ())
const
115 std::string
dir_name (
void)
const {
return my_dir_name; }
121 this->lock_subfunctions ();
127 this->unlock_subfunctions ();
144 virtual std::list<std::string> subfunction_names (
void)
const
146 return std::list<std::string> ();
153 std::string
name (
void)
const {
return my_name; }
155 void document (
const std::string& ds) { doc = ds; }
166 const std::string& ds = std::string ())
167 : relative (false), locked (false), private_function (false),
168 xdispatch_class (), my_name (nm), my_dir_name (), doc (ds) { }