#include <mb-low-passage.hpp>
Inheritance diagram for mbLowPassage:
Definition at line 34 of file mb-low-passage.hpp.
Public Member Functions | |
mbLowPassage () | |
void | XMLout (FILE *fout) |
mbLowPassage::mbLowPassage | ( | ) |
Class constructor.
Definition at line 28 of file mb-low-passage.cpp.
References materialBenefit::setQuantity().
00028 :mbPassageObj(MB_LOW_PASSAGE){ 00029 this->setQuantity(1); 00030 }
Here is the call graph for this function:
void mbLowPassage::XMLout | ( | FILE * | fout | ) | [virtual] |
Send well formed (I hope!) XML to a file.
fout | pointer to a file buffer/handle to write XML to. |
Reimplemented from mbPassageObj.
Definition at line 32 of file mb-low-passage.cpp.
00032 { 00033 fprintf(fout,"\t\t%s\n",createStartElement(MB_TAG)); 00034 fprintf(fout,"\t\t\t%s%s%s\n", 00035 createStartElement(MB_TYPE), 00036 MB_LOW_PASSAGE, 00037 createEndElement(MB_TYPE)); 00038 fprintf(fout,"\t\t\t%s%d%s\n", 00039 createStartElement(MB_QUANTITY), 00040 this->getQuantity(), 00041 createEndElement(MB_QUANTITY)); 00042 fprintf(fout,"\t\t%s\n",createEndElement(MB_TAG)); 00043 00044 }