From: Richard Kreckel Date: Mon, 24 Jan 2000 22:20:04 +0000 (+0000) Subject: - Added some comments for doxygen. X-Git-Tag: release_0-5-0~38 X-Git-Url: https://ginac.de/ginac.git/tutorial/ginac.git?a=commitdiff_plain;h=0005b3d284798a7144de7ff6d93936e811f8be47;p=ginac.git - Added some comments for doxygen. --- diff --git a/ginac/basic.cpp b/ginac/basic.cpp index 0d9f989b..89186ad9 100644 --- a/ginac/basic.cpp +++ b/ginac/basic.cpp @@ -201,21 +201,27 @@ basic * basic::duplicate() const return new basic(*this); } +/** Information about the object. + * + * @see class info_flags */ bool basic::info(unsigned inf) const { return false; // all possible properties are false for basic objects } +/** Number of operands/members. */ unsigned basic::nops() const { return 0; } +/** Return operand/member at position i. */ ex basic::op(int i) const { return (const_cast(this))->let_op(i); } +/** Return modifyable operand/member at position i. */ ex & basic::let_op(int i) { throw(std::out_of_range("op() out of range")); diff --git a/ginac/flags.h b/ginac/flags.h index 5f32ffe7..add2cc49 100644 --- a/ginac/flags.h +++ b/ginac/flags.h @@ -42,6 +42,7 @@ public: }; }; +/** Possible attributes an object can have. */ class info_flags { public: enum {