Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vectorhash.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2023 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef VECTORHASH_H
5 #define VECTORHASH_H
6 
7 #include <string>
8 
9 // take checksum of aligned buffer
10 void VectorHash(const void* key, size_t len, uint32_t seed, void* out);
11 // take checksum of an already opened stream
12 std::string VHstream(FILE* io);
13 // take checksum of the contents of a string
14 std::string VHstring(const std::string& s);
15 
16 #endif
std::string VHstream(FILE *io)
Definition: vectorhash.cpp:541
std::string VHstring(const std::string &s)
void VectorHash(const void *key, size_t len, uint32_t seed, void *out)
Definition: vectorhash.cpp:515