]> www.ginac.de Git - ginac.git/commitdiff
- Added some comments for doxygen.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 24 Jan 2000 22:20:04 +0000 (22:20 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 24 Jan 2000 22:20:04 +0000 (22:20 +0000)
ginac/basic.cpp
ginac/flags.h

index 0d9f989b9c8c6a22b2fa492c09dfb2033b067616..89186ad9815cf479dc20defbdd9b56909354a27b 100644 (file)
@@ -201,21 +201,27 @@ basic * basic::duplicate() const
     return new basic(*this);
 }
 
     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
 }
 
 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;
 }
 
 unsigned basic::nops() const
 {
     return 0;
 }
 
+/** Return operand/member at position i. */
 ex basic::op(int i) const
 {
     return (const_cast<basic *>(this))->let_op(i);
 }
 
 ex basic::op(int i) const
 {
     return (const_cast<basic *>(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"));
 ex & basic::let_op(int i)
 {
     throw(std::out_of_range("op() out of range"));
index 5f32ffe7036cdcafe376033cdaf7fdc9f761ed2c..add2cc4912e8f1eef13c9f27046c1fabe613024c 100644 (file)
@@ -42,6 +42,7 @@ public:
          };
 };
 
          };
 };
 
+/** Possible attributes an object can have. */
 class info_flags {
 public:
     enum { 
 class info_flags {
 public:
     enum {