Import Geant4 1.0.0 source tree
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user