Skip to content

Commit

Permalink
Re #11508 Help string interface on component
Browse files Browse the repository at this point in the history
(not yet tested)
  • Loading branch information
abuts committed Apr 20, 2015
1 parent b1d9aef commit 671ca69
Show file tree
Hide file tree
Showing 2 changed files with 624 additions and 534 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,20 @@ class MANTID_GEOMETRY_DLL Component : public virtual IComponent {
else
return std::string("");
}

/** Get a parameter's description */
std::string getParDescription(const std::string &pname,
bool recursive = true) const;

/** Get this parameter's description -- no recursive search within children*/
std::string getParDescription() const;

/** Get a parameter's tooltip (short description) */
std::string getParTooltip(const std::string &pname,
bool recursive = true) const;
/** Get a parameter's tooltip (short description) -- no recursive search within children*/
std::string getParTooltip() const;
/**Set components description. Works for parameterized components only */
void setDescription(const std::string &descr);
/**
* Get a parameter defined as a bool
* @param pname :: The name of the parameter
Expand Down

0 comments on commit 671ca69

Please sign in to comment.