00001 #define TRACE_NAME "LoopState"
00002
00003 #include "LoopState.h"
00004
00006
00007
00008
00010
00011 #if 0
00012
00013 LoopState::LoopState(const LoopState& other)
00014 {
00015 NOT_IMPLEMENTED
00016 }
00017
00018 const LoopState& LoopState::operator=(const LoopState& other)
00019 {
00020 NOT_IMPLEMENTED
00021 }
00022
00023 bool LoopState::operator==(const LoopState& other) const
00024 {
00025 NOT_IMPLEMENTED
00026 }
00027
00028 bool LoopState::operator<(const LoopState& other) const
00029 {
00030 NOT_IMPLEMENTED
00031 }
00032
00033 size_t LoopState::hash() const
00034 {
00035 NOT_IMPLEMENTED
00036 }
00037
00038 std::ostream& LoopState::print_to(std::ostream& stream) const
00039 {
00040 NOT_IMPLEMENTED
00041 }
00042
00043 #endif
00044
00046
00047
00048
00050
00051
00052
00054
00055
00056
00058
00059
00060 #if 0
00061
00062 #ifndef SKIP_UNIT_TESTS
00063 #include "UnitTest.h"
00064
00065 int testfetch(LoopState& ls) {
00066 if (ls.data.as_int == 0) {
00067 ls.data.as_int = 10;
00068 }
00069 ls.data.as_int--;
00070 return ls.data.as_int;
00071 }
00072
00073 UNIT_TEST(1, "title for this test, keyword1, keyword2, ...")
00074 {
00075 LoopState ls;
00076 while (int i=testfetch(ls)) {
00077 std::cout << i << std::endl;
00078 }
00079
00080 return true;
00081 }
00082
00083 #endif
00084
00085
00086 #endif
00087 #undef TRACE_NAME