LoopAbstraction_output.cpp

Go to the documentation of this file.
00001 //     THIS IS AN AUTOMATICALLY GENERATED FILE
00002 //     CREATED BY GenOutputTool.
00003 
00004 #include "LoopAbstraction.hpp"
00005 
00006 namespace OA { 
00007     namespace Loop { 
00008 
00009 void LoopAbstraction::output(OA::IRHandlesIRInterface &ir)
00010 {
00011     sOutBuild->objStart("LoopAbstraction");
00012 
00013     sOutBuild->outputIRHandle(mLoopStatement, ir);
00014 
00015     if(mLoopIndex.ptrEqual(0)) {
00016         sOutBuild->field("mLoopIndex", "NULL");
00017     } else {
00018         mLoopIndex->output(ir);
00019     }
00020     if(mParent.ptrEqual(0)) {
00021         sOutBuild->field("mParent", "NULL");
00022     } else {
00023         mParent->output(ir);
00024     }
00025     sOutBuild->objEnd("LoopAbstraction");
00026 }
00027 
00028 
00029     } // end of Loop namespace
00030 } // end of OA namespace