Import Geant4 1.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:28:20 +02:00
parent aaa409b6ee
commit ca1c8cb059
2995 changed files with 106830 additions and 299600 deletions
@@ -1,28 +0,0 @@
#ifndef HASH_MAP_H
#define HASH_MAP_H
// wrapper for Objectspace hash map...
#include <hashmap.h>
#ifndef HASHCHARSTAR_H
#define HASHCHARSTAR_H
inline size_t __stl_hash_string(const char* s)
{
unsigned long h = 0;
for ( ; *s; ++s)
h = 5*h + *s;
return size_t(h);
}
struct hash<const char*>
{
size_t operator()(const char* s) const { return __stl_hash_string(s); }
};
struct hash<char*>
{
size_t operator()(const char* s) const { return __stl_hash_string(s); }
};
#endif // HASHCHARSTAR_H
#endif // HASH_MAP_H
@@ -1 +1 @@
#include<stdio.h>
#include <stdio.h>
@@ -1 +1 @@
#include <string.h>
#include <string>
@@ -1,28 +0,0 @@
#ifndef HASH_MAP_H
#define HASH_MAP_H
// wrapper for Objectspace hash map...
#include <hashmap.h>
#ifndef HASHCHARSTAR_H
#define HASHCHARSTAR_H
inline size_t __stl_hash_string(const char* s)
{
unsigned long h = 0;
for ( ; *s; ++s)
h = 5*h + *s;
return size_t(h);
}
struct hash<const char*>
{
size_t operator()(const char* s) const { return __stl_hash_string(s); }
};
struct hash<char*>
{
size_t operator()(const char* s) const { return __stl_hash_string(s); }
};
#endif // HASHCHARSTAR_H
#endif // HASH_MAP_H
@@ -1,28 +0,0 @@
#ifndef HASH_MAP_H
#define HASH_MAP_H
// wrapper for Objectspace hash map...
#include <hashmap.h>
#ifndef HASHCHARSTAR_H
#define HASHCHARSTAR_H
inline size_t __stl_hash_string(const char* s)
{
unsigned long h = 0;
for ( ; *s; ++s)
h = 5*h + *s;
return size_t(h);
}
struct hash<const char*>
{
size_t operator()(const char* s) const { return __stl_hash_string(s); }
};
struct hash<char*>
{
size_t operator()(const char* s) const { return __stl_hash_string(s); }
};
#endif // HASHCHARSTAR_H
#endif // HASH_MAP_H
@@ -0,0 +1 @@
#include <iomanip.h>
@@ -0,0 +1 @@
#include <iostream.h>
@@ -0,0 +1 @@
#include <strstream.h>
@@ -0,0 +1 @@
#include <iostream.h>
@@ -1,28 +0,0 @@
#ifndef HASH_MAP_H
#define HASH_MAP_H
// wrapper for Objectspace hash map...
#include <hashmap.h>
#ifndef HASHCHARSTAR_H
#define HASHCHARSTAR_H
inline size_t __stl_hash_string(const char* s)
{
unsigned long h = 0;
for ( ; *s; ++s)
h = 5*h + *s;
return size_t(h);
}
struct hash<const char*>
{
size_t operator()(const char* s) const { return __stl_hash_string(s); }
};
struct hash<char*>
{
size_t operator()(const char* s) const { return __stl_hash_string(s); }
};
#endif // HASHCHARSTAR_H
#endif // HASH_MAP_H