CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Matrix/CLHEP/Random/StaticRandomStates.h
Go to the documentation of this file.
1 // $Id
2 // -*- C++ -*-
3 //
4 // -----------------------------------------------------------------------
5 // HEP Random
6 // --- StaticRandomStates ---
7 // class header file
8 // -----------------------------------------------------------------------
9 //
10 // It's a holder for methods to save and restore the full states of all
11 // static random distribution generators, including engine and cached data.
12 //
13 // =======================================================================
14 // Mark Fischler - Created: Dec. 21, 2004
15 // =======================================================================
16 
17 #ifndef StaticRandomStates_h
18 #define StaticRandomStates_h 1
19 
20 #include "CLHEP/Random/defs.h"
21 #include <iostream>
22 
23 namespace CLHEP {
24 
29 
30 public:
31 
32 static std::ostream & save (std::ostream & os);
33 static std::istream & restore(std::istream & is);
34 
35 };
36 
37 } // namespace CLHEP
38 
39 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
40 // backwards compatibility will be enabled ONLY in CLHEP 1.9
41 using namespace CLHEP;
42 #endif
43 
44 #endif
static std::istream & restore(std::istream &is)
static std::ostream & save(std::ostream &os)