errors in documentation

master
Marc Wäckerlin 20 years ago
parent 40beb53a91
commit 320498e3b9
  1. 23
      mrw/exec.hpp

@ -9,6 +9,9 @@
@license LGPL, see file <a href="license.html">COPYING</a>
$Log$
Revision 1.4 2004/10/07 09:27:01 marc
errors in documentation
Revision 1.3 2004/08/28 16:21:25 marc
mrw-c++-0.92 (mrw)
- new file: version.cpp
@ -131,7 +134,7 @@ namespace mrw {
/** @brief Execute the command.
@param bool
@param exc
- @c true throw an exception if return status is not zero
- @c false throw only an exception in case of a fatal error
@ -141,7 +144,7 @@ namespace mrw {
- if given parameter is @c true (the default) also if the
executed program terminates with an error
*/
Exec& execute(bool=true) throw(std::exception);
Exec& execute(bool exc=true) throw(std::exception);
/** @brief Executes the command if not done, streams @c stdout into a string
@ -238,19 +241,19 @@ namespace mrw {
class Cmd {
public:
/** @brief Create a command given the name of the executable
@param std::string the name of the program to execute (no parameter)
@param command the name of the program to execute (no parameter)
@note There is no default constructor. */
Cmd(const std::string&) throw(std::bad_exception);
Cmd(const std::string& command) throw(std::bad_exception);
/** @brief Append a parameter to a command
@param std::string a parameter&nbsp;/ commandline argument
@param param a parameter&nbsp;/ commandline argument
to append to the command */
Cmd& operator,(const std::string&) throw(std::bad_exception);
Cmd& operator,(const std::string& param) throw(std::bad_exception);
/** @brief Append a parameter to a command
@param std::string a parameter&nbsp;/ commandline argument
@param param a parameter&nbsp;/ commandline argument
to append to the command */
Cmd& operator<<(const std::string&) throw(std::bad_exception);
Cmd& operator<<(const std::string& param) throw(std::bad_exception);
/** @return the command including parameter */
operator std::string() const throw(std::bad_exception);
@ -267,7 +270,7 @@ namespace mrw {
mrw::Exec::result() and mrw::Exec::error() provide the
necessary information.
@param bool
@param exc
- @c true throw an exception if return status is not zero
- @c false throw only an exception in case of a fatal error
@ -279,7 +282,7 @@ namespace mrw {
- if given parameter is @c true (the default) also if the
executed program terminates with an error
*/
Exec execute(bool=true) const throw(std::exception);
Exec execute(bool exc=true) const throw(std::exception);
private:
/// Exec is allowed to call @c path() and @c args().

Loading…
Cancel
Save