00001
00002
00003
00004 #ifndef DEV_W3_ORG__2001_BLINDFOLD_SRC_GENERATOR_H
00005 #define DEV_W3_ORG__2001_BLINDFOLD_SRC_GENERATOR_H
00006 #include "config.h"
00007
00008 #include "TripleSink.h"
00009 #include "ByteWriter.h"
00010
00021 class Generator : public TripleSink, public ByteWriter {
00022
00023 public:
00024
00025
00026 Generator();
00027 Generator(const Generator& other);
00028 const Generator& operator=(const Generator& other);
00029 bool operator==(const Generator& other) const;
00030 bool operator<(const Generator& other) const;
00031 size_t hash() const;
00032 friend std::ostream& operator<<(std::ostream& s, const Generator& me);
00033 std::ostream& print_to(std::ostream& stream) const;
00034 ~Generator();
00035
00036
00037
00038
00039
00040
00041 private:
00042
00043
00044 };
00045
00046
00047 STANDARD_EXTERNAL(Generator)
00048
00049 #endif