mEmcDCMoutputPAM.C

Go to the documentation of this file.
00001 /* Automatically generated.  Do not edit. */
00002 #include "mEmcDCMoutputModule.h"
00003 #include "mEmcDCMoutput.h"
00004 #include "PHIODataNode.h"
00005 
00006 #include "dEmcDCMDataWrapper.h"
00007 
00008 typedef PHIODataNode<dEmcDCMDataWrapper> dEmcDCMDataNode_t;
00009 
00010 PHBoolean
00011 mEmcDCMoutputModule::callPAM(PHPointerList<PHNode> &nl) {
00012   long result;
00013 
00014   TABLE_HEAD_ST t1;
00015   DEMCDCMDATA_ST *d1;
00016 
00017   dEmcDCMDataNode_t* n1 = static_cast<dEmcDCMDataNode_t*>(nl[0]);
00018 
00019   t1 = n1->getData()->TableHeader();
00020   d1 = n1->getData()->TableData();
00021 
00022   result = memcdcmoutput_(
00023     &t1, d1                              );
00024 
00025   n1->getData()->SetRowCount(t1.nok);
00026 
00027   if (result == 1) {
00028     return True;
00029   } else {
00030     return False;
00031   }
00032 }