Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

LoopState.cpp

00001 #define TRACE_NAME "LoopState"
00002 
00003 #include "LoopState.h"
00004 
00006 //
00007 //  Standard Member Functions
00008 //
00010 
00011 #if 0  /* omit definitions until they are implemented */
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 /* omit definitions until they are implemented */
00044     
00046 //
00047 //  Additional Public Member Functions
00048 //
00050 
00051 
00052 
00054 //
00055 //  Additional Private Member Functions
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

Home to blindfold. This page generated via doxygen 1.2.11.1 Wed Oct 10 16:40:33 2001.