]> www.ginac.de Git - ginac.git/blobdiff - ginac/flags.h
- Added some comments for doxygen.
[ginac.git] / ginac / flags.h
index 76fe8217aaa6c38e0d675654d1a4ca87bd475c88..add2cc4912e8f1eef13c9f27046c1fabe613024c 100644 (file)
@@ -2,8 +2,30 @@
  *
  *  Collection of all flags used through the GiNaC framework. */
 
-#ifndef _FLAGS_H_
-#define _FLAGS_H_
+/*
+ *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __GINAC_FLAGS_H__
+#define __GINAC_FLAGS_H__
+
+#ifndef NO_GINAC_NAMESPACE
+namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 class expand_options {
 public:
@@ -20,6 +42,7 @@ public:
          };
 };
 
+/** Possible attributes an object can have. */
 class info_flags {
 public:
     enum { 
@@ -28,6 +51,8 @@ public:
            real,
            rational,
            integer,
+           crational,
+           cinteger,
            positive,
            negative,
            nonnegative,
@@ -59,7 +84,9 @@ public:
            // answered by classes numeric, symbol, add, mul, power
            polynomial,
            integer_polynomial,
+           cinteger_polynomial,
            rational_polynomial,
+           crational_polynomial,
            rational_function,
 
            // answered by class ex
@@ -94,4 +121,8 @@ public:
        };
 };
 
-#endif // ndef _FLAGS_H_
+#ifndef NO_GINAC_NAMESPACE
+} // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
+
+#endif // ndef __GINAC_FLAGS_H__