]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
- put everything in "GiNaC" namespace
[ginac.git] / ginac / structure.h
index b1c8bef7480cde3dc4c953c1b1c5087d7f9e869e..3478887507c11b20067c606650cd1cc14e25703a 100644 (file)
@@ -2,12 +2,30 @@
  *
  *  Interface to 'abstract' class structure. */
 
-#ifndef _STRUCTURE_H_
-#define _STRUCTURE_H_
+/*
+ *  GiNaC Copyright (C) 1999 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_STRUCTURE_H__
+#define __GINAC_STRUCTURE_H__
 
-class structure;
+#include <ginac/basic.h>
 
-#include "basic.h"
+namespace GiNaC {
 
 struct registered_structure_info {
     char const * name;
@@ -66,5 +84,6 @@ public:
 extern const structure some_structure;
 extern type_info const & typeid_structure;
 
-#endif // ndef _STRUCTURE_H_
+} // namespace GiNaC
 
+#endif // ndef __GINAC_STRUCTURE_H__