]> www.ginac.de Git - ginac.git/blobdiff - ginac/printraw.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / printraw.cpp
index a70461068e0ca41a3e11b4355a16d4f4d6a61b54..331622a7c93b244afdde980c55da7ba7aab3544e 100644 (file)
@@ -1,8 +1,9 @@
 /** @file printraw.cpp
  *
  * print in ugly raw format, so brave developers can have a look at the
- * underlying structure.
- *
+ * underlying structure. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
 
 #include <iostream>
 
-#include "ginac.h"
+#include "basic.h"
+#include "ex.h"
+#include "add.h"
+#include "constant.h"
+#include "expairseq.h"
+#include "fail.h"
+#include "indexed.h"
+#include "inifcns.h"
+#include "matrix.h"
+#include "mul.h"
+#include "ncmul.h"
+#include "numeric.h"
+#include "power.h"
+#include "relational.h"
+#include "series.h"
+#include "symbol.h"
+#include "debugmsg.h"
+
+#ifndef NO_GINAC_NAMESPACE
+namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 void ex::printraw(ostream & os) const
 {
     debugmsg("ex printraw",LOGLEVEL_PRINT);
-    ASSERT(bp!=0);
+    GINAC_ASSERT(bp!=0);
     os << "ex(";
     bp->printraw(os);
     os << ")";
@@ -205,3 +226,7 @@ void matrix::printraw(ostream & os) const
     }
     os << m[row*col-1] << "))";
 }
+
+#ifndef NO_GINAC_NAMESPACE
+} // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE