diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-03-23 21:09:39 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-03-23 21:09:39 +0000 |
commit | 6f2bb8f07bdc8778aeb69ae6ebbfa65005fc6ac3 (patch) | |
tree | b46345f3818dadddfec9a3af9f6350485d980148 /cpp/include/IceUtil/Random.h | |
parent | Added Win32 implementation of generateRandom. (diff) | |
download | ice-6f2bb8f07bdc8778aeb69ae6ebbfa65005fc6ac3.tar.bz2 ice-6f2bb8f07bdc8778aeb69ae6ebbfa65005fc6ac3.tar.xz ice-6f2bb8f07bdc8778aeb69ae6ebbfa65005fc6ac3.zip |
Added Win32 impl
Diffstat (limited to 'cpp/include/IceUtil/Random.h')
-rw-r--r-- | cpp/include/IceUtil/Random.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/include/IceUtil/Random.h b/cpp/include/IceUtil/Random.h index 2666c86a772..d92ffe4d1b4 100644 --- a/cpp/include/IceUtil/Random.h +++ b/cpp/include/IceUtil/Random.h @@ -20,13 +20,17 @@ class ICE_UTIL_API RandomGeneratorException : public Exception { public: - RandomGeneratorException(const char*, int); + RandomGeneratorException(const char*, int, int = 0); virtual const std::string ice_name() const; + virtual void ice_print(std::ostream&) const; virtual Exception* ice_clone() const; virtual void ice_throw() const; + int error() const; + private: + const int _error; static const char* _name; }; |