]> www.ginac.de Git - ginac.git/blobdiff - ginac/flags.h
container.pl: can now generate constructors for an arbitary number
[ginac.git] / ginac / flags.h
index 5f32ffe7036cdcafe376033cdaf7fdc9f761ed2c..16228a2d32a604662dacd94ea8f99329fcaaa22e 100644 (file)
@@ -23,9 +23,9 @@
 #ifndef __GINAC_FLAGS_H__
 #define __GINAC_FLAGS_H__
 
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
 
 class expand_options {
 public:
@@ -42,6 +42,7 @@ public:
          };
 };
 
+/** Possible attributes an object can have. */
 class info_flags {
 public:
     enum { 
@@ -88,9 +89,6 @@ public:
            crational_polynomial,
            rational_function,
 
-           // answered by class ex
-           normal_form,
-           
            // answered by class indexed
            indexed,      // class can carry indices
            has_indices,  // object has at least one index
@@ -120,8 +118,17 @@ public:
        };
 };
 
-#ifndef NO_GINAC_NAMESPACE
+class remember_strategies {
+public:
+    enum { delete_never, // let table grow undefinitely, not recommmended, but currently default
+           delete_lru,   // least recently used
+           delete_lfu,   // least frequently used
+           delete_cyclic // first one in list (oldest)
+    };
+};
+
+#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
 
 #endif // ndef __GINAC_FLAGS_H__