Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
engineIDulong.h
이 파일의 문서화 페이지로 가기
1 // $Id:$
2 // -*- C++ -*-
3 //
4 // -----------------------------------------------------------------------
5 // HEP Random
6 // --- engineIDulong ---
7 // function header file
8 // -----------------------------------------------------------------------
9 
10 // Class generating new engines from streamed saves.
11 
12 // =======================================================================
13 // M Fischler - Created: Mar. 8, 2005
14 // =======================================================================
15 
16 #ifndef engineIDulong_h
17 #define engineIDulong_h 1
18 
19 namespace CLHEP {
20 
21 unsigned long crc32ul(const std::string & s);
22 
23 template <class E>
24 unsigned long engineIDulong() {
25  static const unsigned long id = crc32ul(E::engineName());
26  return id;
27 }
28 
29 } // namespace CLHEP
30 
31 #endif
32 
const XML_Char * s
Definition: expat.h:262
unsigned long crc32ul(const std::string &s)
unsigned long engineIDulong()
Definition: engineIDulong.h:24