* Helper templates to provide per-class information for class hierarchies. */
/*
- * GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2009 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
*
* 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
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef __GINAC_CLASS_INFO_H__
-#define __GINAC_CLASS_INFO_H__
+#ifndef GINAC_CLASS_INFO_H
+#define GINAC_CLASS_INFO_H
#include <cstddef> // for size_t
-#include <vector>
-#include <map>
-#include <string>
-#include <iostream>
+#include <cstring>
#include <iomanip>
+#include <iostream>
+#include <map>
#include <stdexcept>
+#include <string>
+#include <vector>
namespace GiNaC {
for (class_info *p = first; p; p = p->next) {
const char *parent_name = p->options.get_parent_name();
for (class_info *q = first; q; q = q->next) {
- if (strcmp(q->options.get_name(), parent_name) == 0) {
+ if (std::strcmp(q->options.get_name(), parent_name) == 0) {
p->parent = q;
break;
}
} // namespace GiNaC
-#endif // ndef __GINAC_CLASS_INFO_H__
+#endif // ndef GINAC_CLASS_INFO_H