00001 #ifndef _DIF_BOARD_HH_
00002 #define _DIF_BOARD_HH_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include "mTypes.h"
00015 #include <iostream>
00016
00017
00018
00019
00020 class Dif {
00021
00022 friend std::ostream& operator <<(std::ostream& out, const Dif *x);
00023 friend std::ostream& operator <<(std::ostream& out, const Dif& x);
00024 public:
00025 Dif(const i32 aId);
00026
00027 protected:
00028 std::ostream& operator <<(std::ostream& out) const;
00029
00030
00031 public:
00032 inline const i32 getId() const { return(id); };
00033 inline const BoardMap_t& getBoards() const { return(boards); };
00034
00035 void addBoard(Board *aBoard);
00036 const Board& getBoardById(const i32 boardId);
00037
00038
00039 private:
00040 const i32 id;
00041 BoardMap_t boards;
00042 };
00043
00044 #endif // _DIF_BOARD_HH_